class etspy.align.TiltMaxImageAligner(etspy.align.TiltAligner)[source]

Tilt alignment class for maximum image method.

Perform automated determination of the tilt axis of a TomoStack.

The projected maximum image used to determine the tilt axis by a combination of Sobel filtering and Hough transform analysis.

Parameters:
stack

TomoStack array containing the tilt series data

limit

Maximum rotation angle to use for calculation

delta

Angular increment for calculation

plot_results

If True, plot the maximum image along with the lines determined by Hough analysis

also_shift

If True, also calculate and apply the global shift perpendicular to the tilt by minimizing the sum of the reconstruction

shift_limit

The limit of shifts applied if also_shift is set to True

Returns:

rotated – Rotated version of the input stack

Return type:

TomoStack

Constructors

TiltMaxImageAligner(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.