nirspec_footprint¶
- jwst_novt.footprints.nirspec_footprint(ra, dec, pa, *, include_center=True, apertures=None)[source]¶
Create NIRSpec footprint regions in sky coordinates.
The MSA center and PA offset angle are determined from the NRS_FULL_MSA aperture. Apertures appearing in the footprint are, by default:
NRS_FULL_MSA1
NRS_FULL_MSA2
NRS_FULL_MSA3
NRS_FULL_MSA4
NRS_FULL_IFU
NRS_S200A1_SLIT
NRS_S200A2_SLIT
NRS_S400A1_SLIT
NRS_S1600A1_SLIT
NRS_S200B1_SLIT
- Parameters:
ra (float) – RA of NIRSpec MSA center, in degrees.
dec (float) – Dec of NIRSpec MSA center, in degrees.
pa (float) – Position angle for NIRSpec, in degrees measured from North to central MSA vertical axis in North to East direction.
include_center (bool, optional) – If set, the center is marked with a Point region. If not, only the apertures are included in the output.
apertures (list of str, optional) – If set, only the specified apertures are returned.
- Returns:
footprint – NIRSpec footprint regions. MSA center is marked with a Point region; all other apertures are marked with Polygon regions. Output regions are in sky coordinates.
- Return type:
regions.Regions