imaging

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

Create the WCS pipeline for NIRSpec imaging data.

It has the following coordinate frames:

  • “detector”: the science frame

  • “sca”: frame associated with the SCA

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

  • “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 ‘disperser’, ‘collimator’, ‘wavelengthrange’, ‘fpa’, ‘camera’, ‘ote’, and ‘fore’ reference files.

Returns:
pipelinelist

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