fourier_imshift
- jwst.coron.imageregistration.fourier_imshift(image, shift)[source]
Shift an image by use of Fourier shift theorem.
- Parameters:
- imagendarray
A 2D (
NxK) or 3D (LxNxK) image.- shiftndarray
A 1D or 2D array of shape
Lx2containing pixel values by which to shift image slices in the X and Y directions.
- Returns:
- offsetndarray
Shifted image.