get_open_slits

jwst.assign_wcs.nirspec.get_open_slits(input_model, reference_files=None, slit_y_range=(-0.55, 0.55))[source]

Return the open slits/shutters in a MOS or Fixed Slits exposure.

Parameters:
input_modelJwstDataModel

The input data model.

reference_filesdict

Mapping between reftype (keys) and reference file name (vals). Requires the ‘msa’, ‘msametafile’, ‘disperser’, ‘wavelengthrange’, ‘fpa’, ‘camera’, and ‘collimator’ reference files.

slit_y_rangetuple

The slit Y-range for Nirspec slits, relative to (0, 0) in the center.

Returns:
slitslist[Slit]

A list of Slit objects.