NIRSpec

class webbpsf.NIRSpec[source]

Bases: JWInstrument

A class modeling the optics of NIRSpec, in imaging mode.

This is not a substitute for a spectrograph model, but rather a way of simulating a PSF as it would appear with NIRSpec in imaging mode (e.g. for target acquisition). NIRSpec support is relatively simplistic compared to the other instruments at this point.

Relevant attributes include filter. In addition to the actual filters, you may select ‘IFU’ to indicate use of the NIRSpec IFU, in which case use the monochromatic attribute to set the simulated wavelength.

If a grating is selected in the pupil, then a rectangular pupil mask 8.41x7.91 m as projected onto the primary is added to the optical system. This is an estimate of the pupil stop imposed by the outer edge of the grating clear aperture, estimated based on optical modeling by Erin Elliot and Marshall Perrin.

Note: IFU to be implemented later