change_header_pointing¶
- grizli.jwst_utils.change_header_pointing(header, ra_ref=0.0, dec_ref=0.0, pa_v3=0.0)[source]¶
Update a FITS header for a new pointing (center + roll).
- Parameters
- header
Header Parent header (must contain
V2_REF,V3_REFkeywords).- ra_ref, dec_reffloat
Pointing center, in decimal degrees, at reference the pixel defined in.
- pa_v3float
Position angle of the telescope V3 axis, degrees.
- .. warning::
- Doesn’t update PC keywords based on pa_v3, which would rather have to
- be computed from the new `gwcs`.
- header