webbpsf_ext.bandpasses.niriss_grism_res

webbpsf_ext.bandpasses.niriss_grism_res(m=1)[source]

Grism resolution

Based on the pupil input and module, return the spectral dispersion and resolution as a tuple (res, dw).

Parameters

m (int) – Spectral order (1 or 2).