update_wcs_fits_log¶
- grizli.prep.update_wcs_fits_log(file, wcs_ref, xyscale=[0, 0, 0, 1], initialize=True, replace=('.fits', '.wcslog.fits'), wcsname='SHIFT')[source]¶
Make FITS log when updating WCS
- Parameters
- filestr
Filename of the FITS file.
- wcs_ref
WCS
Reference WCS.
- xyscalelist
WCS shift, rotation, scale.
- initializebool
Initialize the WCS log file.
- replacetuple
Replace the first element with the second in the filename.
- wcsnamestr
WCS name to use in the FITS header.