img_with_wcs¶
- grizli.jwst_utils.img_with_wcs(input, overwrite=True, fit_sip_header=True, skip_completed=True, verbose=True)[source]¶
Open a JWST exposure and apply the distortion model.
- Parameters
- inputobject
Anything
jwst.datamodels.util.opencan accept for initialization.- overwritebool
Overwrite FITS file
- fit_sip_headerbool
Run
pipeline_model_wcs_headerto rederive SIP distortion header- skip_completedbool
Skip the
pipeline_model_wcs_headerstep if theGRIZLWCSkeyword is already set to True.- verbosebool
Messaging to terminal.
- Returns
- with_wcs
jwst.datamodels.ImageModel Image model with full
gwcsinwith_wcs.meta.wcs.
- with_wcs