- class etspy.align.TiltCOMAligner(etspy.align.TiltAligner)[source]
Tilt alignment class for center of mass method.
Perform tilt axis alignment using center of mass (CoM) tracking.
Compares path of specimen to the path expected for an ideal cylinder
- Parameters:¶
- slices
Locations at which to perform the Center of Mass analysis. If not provided, an appropriate list of slices will be automatically determined.
- nslices
Nubmer of slices to use for the analysis (only used if the
slicesparameter is not specified). IfNone, a value of 10% of the x-axis size will be used, clamped to the range [3, 50].
- Returns:¶
out – Copy of the input stack after rotation and translation to center and make the tilt axis vertical
- Return type:¶
Constructors¶
- TiltCOMAligner(stack, **kwargs)[source]
Initialize self. See help(type(self)) for accurate signature.
Methods¶
- align_tilt_axis() TomoStack[source]
Align tilt axis with center of mass tracking.