slit_to_msa-1.0.0

NIRSPEC set of models from slit_frame to the MSA frame.

Description

This model is used by the NIRSPEC WCS pipeline. It maps a slit to its position in the MSA plane.

Outline

Schema Definitions

This node must validate against all of the following:

  • This type is an object with the following properties:

    • slits

      objectRequired

      This node must validate against any of the following:

    • models

      arrayRequired

      A compound model transferring positions in the slit frame to positions in the MSA frame.

      No length restriction

Original Schema

---
$schema: "http://stsci.edu/schemas/yaml-schema/draft-01"
id: "http://stsci.edu/schemas/jwst_pipeline/slit_to_msa-1.0.0"
title: >
  NIRSPEC set of models from slit_frame to the MSA frame.

description: |
  This model is used by the NIRSPEC WCS pipeline.
  It maps a slit to its position in the MSA plane.

allOf:
  - $ref: "http://stsci.edu/schemas/asdf/transform/transform-1.2.0"
  - type: object
    properties:
      slits:
        anyOf:
          - type: array
            items:
              anyOf:
                - type: array
                - type: number
          - tag: "tag:stsci.edu:asdf/core/ndarray-*"
      models:
        description: |
          A compound model transferring positions in the slit frame to
          positions in the MSA frame.
        type: array
    required: [slits, models]