tomwer.core.process.reconstruction.axis.axis.compute_cor_nabu_sliding_window#

tomwer.core.process.reconstruction.axis.axis.compute_cor_nabu_sliding_window(radio_1, radio_2, side, padding_mode, flip_frame_2_lr=True, horz_fft_width=False)#

Call nabu.preproc.alignement.CenterOfRotationSlidingWindow.find_shift

Parameters:
  • radio_1 (numpy.ndarray) –

  • radio_2 (numpy.ndarray) –

  • padding_mode

  • side (str) – side of the cor

  • horz_fft_width

  • flip_frame_2_lr – if True will left-right flip the second frame

  • half_acq_cor_guess – The approximate position of the rotation axis from the image center. Optional. When given a special algorithm is used which can work also in half-tomo conditions.

Return type:

float | None