slit_to_gwa-1.0.0

NIRSPEC set of models from slit_frame to GWA.

Description

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

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 in the slit frame to a location at the GWA.

      No length restriction

Original Schema

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

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

allOf:
  - $ref: "http://stsci.edu/schemas/asdf/transform/transform-1.4.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
          - tag: "tag:stsci.edu:asdf/core/ndarray-*"
      models:
        description: |
          A compound model transferring positions in the slit frame
          to a location at the GWA.
        type: array
    required: [slits, models]