-
etspy.align.calculate_shifts_pc(stack: TomoStack, start: int, show_progressbar: bool =
False
, upsample_factor: int =3
, cuda: bool =False
) ndarray [source] Calculate shifts using the phase correlation algorithm.
- Parameters:¶
- stack: TomoStack¶
The image series to be aligned
- start: int¶
Position in tilt series to use as starting point for the alignment
- show_progressbar: bool =
False
¶ Enable/disable progress bar
- upsample_factor: int =
3
¶ Factor by which to resample the data
- cuda: bool =
False
¶ Enable/disable the use of GPU-accelerated processes using CUDA
- Returns:¶
shifts – The X- and Y-shifts to be applied to each image
- Return type:¶