ifu

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

Create the WCS pipeline for NIRSpec IFU data.

The coordinate frames are:

  • “detector”: the science frame

  • “sca”: frame associated with the SCA

  • “gwa”: just before the GWA going from detector to sky

  • “slit_frame”: frame associated with the virtual slit

  • “slicer”: frame associated with the slicer

  • “msa_frame”: at the MSA

  • “oteip”: after the FWA

  • “v2v3”

  • “world”

Parameters:
input_modelJwstDataModel

The input data model.

reference_filesdict

Mapping between reftype (keys) and reference file name (vals). Requires the ‘ifufore’, ‘ifuslicer’, ‘ifupost’, ‘disperser’, ‘wavelengthrange’, ‘fpa’, ‘camera’, ‘collimator’, ‘fore’, and ‘ote’ reference files.

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.