spectral_order_wrange_from_model

jwst.assign_wcs.nirspec.spectral_order_wrange_from_model(input_model)[source]

Return the spectral order and wavelength range used in the WCS.

Parameters:
input_modelJwstDataModel

The data model. Must have been through the assign_wcs step.

Returns:
spectral_orderint

The spectral order.

wrangelist

The wavelength range.