niriss_soss_set_input

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

Extract a WCS fr a specific spectral order.

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

  • order_number (int) – the spectral order

Return type:

WCS - the WCS corresponding to the spectral order.