darfix.core.imageRegistration.shift_detection#

darfix.core.imageRegistration.shift_detection(data, steps, shift_approach='linear')[source]#

Finds the linear shift from a set of images.

Parameters:

data (ndarray) – Array with the images.

Returns:

A vector of length the number of images with the linear shift to apply to every image.

Return type:

ndarray