-
etspy.base.TomoStack.align_other(other: TomoStack, shift_type: 'interp' | 'fourier' =
'fourier'
, cuda: bool =False
) TomoStack [source] Apply the alignment calculated for one dataset to another.
This will include the spatial registration, tilt axis, and tilt axis shift if they have been previously calculated.
- Parameters:¶
- other: TomoStack¶
The tilt series which is to be aligned using the previously calculated parameters. The data array in the TomoStack must be of the same size as that in
self.data
- shift_type: 'interp' | 'fourier' =
'fourier'
¶ Image shifts can be applied using either interpolation via scipy.ndimage.shift or via Fourier shift as implemented in scipy.ndimage.fourier_shift. Must be either ‘interp’ or ‘fourier’.
- cuda: bool =
False
¶ Whether or not to use CUDA-accelerated reconstruction algorithms.
- Returns:¶
out – The result of applying the alignment to other
- Return type:¶