project_to_header

image_registration.FITS_tools.match_images.project_to_header(fitsfile, header, **kwargs)[source]

Reproject an image to a header. Simple wrapper of reproject.reproject_interp

Parameters:
fitsfilestring

a FITS file name

headerpyfits.Header

A pyfits Header instance with valid WCS to project to

quietbool

Silence Montage’s output

Returns:
np.ndarray image projected to header’s coordinates