gwa_to_slit-0.7.0

NIRSPEC set of models from GWA to slit_frame.

Description

This model is used by the NIRSPEC WCS pipeline. It maps slit to the transform from the Grating Wheel Assembly (GWA) to the coordinate frame of the slit, where (0, 0) is the center of the slit.

Outline

Schema Definitions

This node must validate against all of the following:

  • This type is an object with the following properties:
    • slits
      objectRequired
      An array with slit numbers. The slit number is computed from the quadrant and the slit ID in this quadrant using

      \(P = quadrant * number_of_shutters_quadrant + slit_id\)

      This node must validate against any of the following:

    • models
      arrayRequired
      A compound model transferring positions at the GWA to position in the slit frame.

      No length restriction
      Items in the array are restricted to the following types:

Original Schema

---
$schema: "http://stsci.edu/schemas/yaml-schema/draft-01"
id: "http://stsci.edu/schemas/jwst_pipeline/gwa_to_slit-0.7.0"
tag: "tag:stsci.edu:jwst_pipeline/gwa_to_slit-0.7.0"
title: >
  NIRSPEC set of models from GWA to slit_frame.

description: |
  This model is used by the NIRSPEC WCS pipeline.
  It maps slit to the transform from the Grating Wheel Assembly (GWA)
  to the coordinate frame of the slit, where (0, 0) is the center of
  the slit.

allOf:
  - $ref: "tag:stsci.edu:asdf/transform/transform-1.1.0"
  - type: object
    properties:
      slits:
        description: |
          An array with slit numbers.
          The slit number is computed from the quadrant and
          the slit ID in this quadrant using

          $P = quadrant * number_of_shutters_quadrant + slit_id$
        anyOf:
          - type: array
            items:
              anyOf:
                - type: array
                - type: number
          - $ref: "tag:stsci.edu:asdf/core/ndarray-1.0.0"
      models:
        description: |
          A compound model transferring positions at the GWA to
          position in the slit frame.
        type: array
        items:
          $ref: "tag:stsci.edu:asdf/transform/transform-1.1.0"
    required: [slits, models]