nrs_wcs_set_input¶
- jwst.assign_wcs.nrs_wcs_set_input(input_model, slit_name, wavelength_range=None, slit_y_low=None, slit_y_high=None)[source]¶
Returns a WCS object for a specific slit, slice or shutter.
- Parameters:
input_model (
JwstDataModel
) – A WCS object for the all open slitlets in an observation.wavelength_range (list) – Wavelength range for the combination of filter and grating.
- Returns:
wcsobj – WCS object for this slit.
- Return type: