Reference Files =============== WCS Reference files are in the Advanced Scientific Data Format (ASDF). The best way to create the file is to programmatically create the model and then save it to a file. A tutorial on creating reference files in ASDF format is available `here `_. Transforms are 0-indexed. The forward direction is from detector to sky. Reference file types used by ``assign_wcs`` ------------------------------------------- ================================================ ==================================================== ============================= REFTYPE Description Instruments ================================================ ==================================================== ============================= :ref:`CAMERA ` NIRSpec Camera model NIRSpec :ref:`COLLIMATOR ` NIRSpec Collimator Model NIRSpec :ref:`DISPERSER ` Disperser parameters NIRSpec :ref:`DISTORTION ` Spatial distortion model FGS, MIRI, NIRCam, NIRISS :ref:`FILTEROFFSET ` MIRI Imager filter offsets MIRI, NIRCAM, NIRISS :ref:`FORE ` Transform through the NIRSpec FORE optics NIRSpec :ref:`FPA ` Transform in the NIRSpec FPA plane NIRSpec :ref:`IFUFORE ` Transform from the IFU slicer to the IFU entrance NIRSpec :ref:`IFUPOST ` Transform from the IFU slicer to the back of the IFU NIRSpec :ref:`IFUSLICER ` IFU Slicer geometric description NIRSpec :ref:`MSA ` Transform in the NIRSpec MSA plane NIRSpec :ref:`OTE ` Transform through the Optical Telescope Element NIRSpec :ref:`SPECWCS ` Wavelength calibration models MIRI, NIRCam, NIRISS :ref:`REGIONS ` Stores location of the regions on the detector MIRI :ref:`WAVELENGTHRANGE ` Typical wavelength ranges MIRI, NIRCam, NIRISS, NIRSpec ================================================ ==================================================== =============================