niriss_grism_dispersion-0.7.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 any 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-0.7.0"
tag: "tag:stsci.edu:jwst_pipeline/niriss_grism_dispersion-0.7.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
anyOf:
  - $ref: "tag:stsci.edu:asdf/transform/transform-1.1.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: "tag:stsci.edu:asdf/transform/transform-1.1.0"
      ymodels:
        description: |
          NIRISS Grism column dispersion model
        type: array
        items:
          type: array
          items:
            $ref: "tag:stsci.edu:asdf/transform/transform-1.1.0"
      lmodels:
        description: |
          NIRISS wavelength-models for dispersion
        type: array
        items:
          $ref: "tag:stsci.edu:asdf/transform/transform-1.1.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
        items:
          minItems: 1
          maxItems: 1
    required: [lmodels, xmodels, ymodels, theta, orders]