-
etspy.align.tilt_maximage(stack: TomoStack, limit: float =
10
, delta: float =0.1
, plot_results: bool =False
, also_shift: bool =False
, shift_limit: float =20
) TomoStack [source] 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¶
TomoStack array containing the tilt series data
- limit: float =
10
¶ Maximum rotation angle to use for calculation
- delta: float =
0.1
¶ Angular increment for calculation
- plot_results: bool =
False
¶ If
True
, plot the maximum image along with the lines determined by Hough analysis- also_shift: bool =
False
¶ If
True
, also calculate and apply the global shift perpendicular to the tilt by minimizing the sum of the reconstruction- shift_limit: float =
20
¶ The limit of shifts applied if
also_shift
is set toTrue
- Returns:¶
rotated – Rotated version of the input stack
- Return type:¶