niriss_grism_dispersion-1.0.0

NIRISS Grism dispersion model

Description

Supports two models:

  • Given x,y,wave,order in effective direct image return x, y, wave, order in dispersed.

  • Given x,y,x0,y0,order in dispersed image returns x, y, wave, order in effective direct.

Outline

Schema Definitions

This node must validate against all of the following:

  • This type is an object with the following properties:

    • theta

      numberRequired

      NIRISS filter wheel differential position in degrees

    • xmodels

      arrayRequired

      NIRISS Grism row dispersion model

      No length restriction

      Items in the array are restricted to the following types:

      array

      No length restriction

      Items in the array are restricted to the following types:

    • ymodels

      arrayRequired

      NIRISS Grism column dispersion model

      No length restriction

      Items in the array are restricted to the following types:

      array

      No length restriction

      Items in the array are restricted to the following types:

    • lmodels

      arrayRequired

      NIRISS wavelength-models for dispersion

      No length restriction

      Items in the array are restricted to the following types:

    • orders

      arrayRequired

      NIRISS available grism orders, in-sync with the model arrays

      No length restriction

      Items in the array are restricted to the following types:

      integer

    • class_name

      string

      The model class which should instantiate this data

      No length restriction

Original Schema

%YAML 1.1
---
$schema: "http://stsci.edu/schemas/yaml-schema/draft-01"
id: "http://stsci.edu/schemas/jwst_pipeline/niriss_grism_dispersion-1.0.0"
title: >
  NIRISS Grism dispersion model
description: |
  Supports two models:
    - Given x,y,wave,order in effective direct image return x, y, wave, order in dispersed.
    - Given x,y,x0,y0,order in dispersed image returns x, y, wave, order in effective direct.

allOf:
  - $ref: "http://stsci.edu/schemas/asdf/transform/transform-1.2.0"
  - type: object
    properties:
      theta:
        description: |
          NIRISS filter wheel differential position in degrees
        type: number
      xmodels:
        description: |
          NIRISS Grism row dispersion model
        type: array
        items:
          type: array
          items:
            $ref: "http://stsci.edu/schemas/asdf/transform/transform-1.2.0"
      ymodels:
        description: |
          NIRISS Grism column dispersion model
        type: array
        items:
          type: array
          items:
            $ref: "http://stsci.edu/schemas/asdf/transform/transform-1.2.0"
      lmodels:
        description: |
          NIRISS wavelength-models for dispersion
        type: array
        items:
          $ref: "http://stsci.edu/schemas/asdf/transform/transform-1.2.0"
      orders:
        description: |
          NIRISS available grism orders, in-sync with the model arrays
        type: array
        items:
          type: integer
      class_name:
        description: |
          The model class which should instantiate this data
        type: string
    required: [lmodels, xmodels, ymodels, theta, orders]