mast_exposure_attitude¶
- grizli.jwst_utils.mast_exposure_attitude(filename='jw06640052001_0310h_00001_nrs1_rate.fits', row=None, gs_pa_offset=-0.1124, verbose=True, **kwargs)[source]¶
Generate JWST spacecraft attitude matrix relevant for a particular exposure from MAST query columns
- Parameters
- filenamestr
JWST exposure filename
- gs_pa_offsetfloat
Empirical offset added to
gs_v3_pafrom the MAST query to matchROLL_REFin the science headers, sinceROLL_REFdoesn’t seem to be available directly from queries to the MAST db. The default value was derived from an MSA exposure.
- Returns
- att(3, 3) array-like
Attitude matrix for use with
pysiaf