jwst.assign_wcs.
nrs_wcs_set_input
Returns a WCS object for a specific slit, slice or shutter.
input_model (DataModel) – A WCS object for the all open slitlets in an observation.
DataModel
slit_name (int or str) – Slit.name of an open slit.
wavelength_range (list) – Wavelength range for the combination of filter and grating.
wcsobj – WCS object for this slit.
WCS