correct_real_space_drift_fast#
- InSituDiffraction2D.correct_real_space_drift_fast(shifts=None, time_axis=2, order=1, **kwargs)[source]#
Perform real space drift registration on the dataset with fast performance over spatial axes. If signal is lazy, spatial axes must not be chunked
- Parameters:
shifts (Signal1D) – shift vectors to register, must be in the shape of <N_time | 2>. If None, shift vectors will be calculated automatically
time_axis (int) – Index of time axis. Default is 2
order (int) – The order of the spline interpolation for registration. Default is 1
**kwargs – Passed to
map()
- Returns:
registered_data – Real space drift corrected version of the original dataset
- Return type: