nircam_grism_dispersion-1.0.0

NIRCAM 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:

    • xmodels

      arrayRequired

      NIRCAM row dispersion models

      No length restriction

      Items in the array must be one of the following types:

      • object

      • array

        No length restriction

        Items in the array are restricted to the following types:

        object

    • ymodels

      arrayRequired

      NIRCAM column dispersion models

      No length restriction

      Items in the array must be one of the following types:

      • object

      • array

        No length restriction

        Items in the array are restricted to the following types:

        object

    • lmodels

      arrayRequired

      NIRCAM wavelength dispersion models

      No length restriction

      Items in the array must be one of the following types:

      • object

      • array

        No length restriction

        Items in the array are restricted to the following types:

        object

    • orders

      arrayRequired

      NIRCAM 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/nircam_grism_dispersion-1.0.0"
title: >
  NIRCAM 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:
      xmodels:
        description: |
         NIRCAM row dispersion models
        type: array
        items:
          oneOf:
            - type: object
              $ref: "http://stsci.edu/schemas/asdf/transform/transform-1.2.0"
            - type: array
              items:
                type: object
                $ref: "http://stsci.edu/schemas/asdf/transform/transform-1.2.0"
      ymodels:
        description: |
          NIRCAM column dispersion models
        type: array
        items:
          oneOf:
            - type: object
              $ref: "http://stsci.edu/schemas/asdf/transform/transform-1.2.0"
            - type: array
              items:
                type: object
                $ref: "http://stsci.edu/schemas/asdf/transform/transform-1.2.0"
      lmodels:
        description: |
          NIRCAM wavelength dispersion models
        type: array
        items:
          oneOf:
            - type: object
              $ref: "http://stsci.edu/schemas/asdf/transform/transform-1.2.0"
            - type: array
              items:
                type: object
                $ref: "http://stsci.edu/schemas/asdf/transform/transform-1.2.0"
      orders:
        description: |
          NIRCAM 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, orders]