get_spectral_order_wrange

jwst.assign_wcs.get_spectral_order_wrange(input_model, wavelengthrange_file)[source]

Read the spectral order and wavelength range from the reference file.

Parameters
  • input_model (DataModel) – The input data model.

  • wavelengthrange_file (str) – Reference file of type “wavelengthrange”.