cross_correlation_shifts_FITS

image_registration.cross_correlation_shifts_FITS(fitsfile1, fitsfile2, return_cropped_images=False, sigma_cut=False, verbose=False, register_method=<function cross_correlation_shifts>, **kwargs)[source]

Determine the shift between two FITS images using the cross-correlation technique. Requires reproject

Parameters:
fitsfile1: str

Reference fits file name

fitsfile2: str

Offset fits file name

return_cropped_images: bool

Returns the images used for the analysis in addition to the measured offsets

sigma_cut: bool or int

Perform a sigma-cut before cross-correlating the images to minimize noise correlation?