etspy.align.align_to_other(stack: TomoStack, other: TomoStack, shift_type: 'fourier' | 'interp' = 'fourier', cuda: bool = False) TomoStack[source]

Spatially register a TomoStack using previously calculated shifts.

Parameters:
stack: TomoStack

TomoStack which was previously aligned

other: TomoStack

TomoStack to be aligned. Must be the same size as the primary stack

shift_type: 'fourier' | 'interp' = '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’.

Returns:

out – Aligned copy of other TomoStack

Return type:

TomoStack