create_pipeline

jwst.assign_wcs.nirspec.create_pipeline(input_model, reference_files, slit_y_range)[source]

Create a pipeline list based on EXP_TYPE.

Parameters:
input_modelJwstDataModel

The input data model.

reference_filesdict

Mapping between reftype (keys) and reference file name (vals).

slit_y_rangetuple

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

Returns:
pipelinelist

The WCS pipeline, suitable for input into gwcs.wcs.WCS.