update_pure_parallel_wcs¶
- grizli.jwst_utils.update_pure_parallel_wcs(file, fix_vtype='PARALLEL_PURE', verbose=True)[source]¶
Update pointing information of pure parallel exposures using the pointing information of the prime exposures from the MAST database and
pysiafFind the FGS log from a MAST query that is closest in
EXPSTARTtofileUse the
ra_v1, dec_v1, pa_v3values of the FGS log to set the pointing attitude withpysiafCompute the sky position of the
CRPIXreference pixel offilewithpysiafand put that position in theCRVALkeywords
- Parameters
- filestr
Filename of a pure-parallel exposure (rate.fits)
- fix_vtypestr
Run if
file[0].header['VISITYPE'] == fix_vtype- verbosebool
Status messaging
- Returns
- statusNone, True
Returns None if some problem is found