niriss_soss_set_input

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

Extract a WCS for a specific spectral order.

Parameters:
modelImageModel

An instance of an ImageModel

order_numberint

The spectral order

Returns:
gwcs.wcs.WCS

The WCS corresponding to the spectral order.