log_wcs¶
- grizli.prep.log_wcs(root, drz_wcs, shift, rot, scale, rms=0.0, n=-1, initialize=True, comment=[])[source]¶
Save WCS offset information to an ascii file
- Parameters
- rootstr
Rootname of the image.
- drz_wcs
WCS
WCS of the drizzled image.
- shift(float, float)
Shift in pixels.
- rotfloat
Rotation in degrees.
- scalefloat
Scale factor.
- rmsfloat
RMS of the fit.
- nint
Number of sources in the fit.
- initializebool
Initialize the log file.
- commentlist
List of comments to include in the log file.