webbpsf_ext.bandpasses.nircam_grism_res

webbpsf_ext.bandpasses.nircam_grism_res(pupil='GRISM', module='A', m=1)[source]

NIRCam Grism resolution

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

Parameters
  • pupil (str) – ‘GRISMC’ or ‘GRISMR’, otherwise assume res=1000 pix/um. ‘GRISM0’ is GRISMR; ‘GRISM90’ is GRISMC

  • module (str) – ‘A’ or ‘B’

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