etspy.align.PhaseCorrelationAligner.calculate_shifts() → ndarray[source] Calculate shifts using the phase correlation algorithm. Parameters:¶ stack : TomoStackThe image stack to be aligned Returns:¶ shifts – The X- and Y-shifts to be applied to each image Return type:¶ ndarray