niriss_soss_set_input

jwst.assign_wcs.niriss_soss_set_input(model, order_number)[source]

Extract a WCS for a specific spectral order.

Parameters:
  • model (ImageModel) – An instance of an ImageModel

  • order_number (int) – The spectral order

Returns:

The WCS corresponding to the spectral order.

Return type:

gwcs.WCS