get_default_resolution_curve

msaexp.utils.get_default_resolution_curve(grating='PRISM', wave=None, grating_degree=2, **kwargs)[source]
Parameters
gratingstr

Grating name

wavearray-like, None

Wavelength grid, microns

grating_degreeint, None

If specified, fit a polynomial with this order to the tabulated resolution. The polynomial coefficients are fit to lambda / R, which is nearly linear for the NIRSpec gratings [(Jakobsen et al. 2022)](https://ui.adsabs.harvard.edu/abs/2022A%26A…661A..80J).

Returns
R_fwhmarray-like

Tabulated resolution curve