reference_files/integralnonlinearity-1.0.0

Integral Nonlinearity Correction Reference Schema

Outline

Schema Definitions

This type is an object with the following properties:

Original Schema

%YAML 1.1
---
$schema: asdf://stsci.edu/datamodels/roman/schemas/rad_schema-1.0.0
id: asdf://stsci.edu/datamodels/roman/schemas/reference_files/integralnonlinearity-1.0.0

title: Integral Nonlinearity Correction Reference Schema

datamodel_name: IntegralnonlinearityRefModel

type: object
properties:
  meta:
    allOf:
      - $ref: asdf://stsci.edu/datamodels/roman/schemas/reference_files/ref_common-1.2.0
      - type: object
        properties:
          reftype:
            type: string
            enum: [INTEGRALNONLINEARITY]
          n_channels:
            title: Number of channels
            description: |
              The number of channels.
            type: integer
          n_pixels_per_channel:
            title: Number of Pixels per Channel
            description: |
              The number of the pixels per channel.
            type: integer
        required: [n_channels, n_pixels_per_channel]
  inl_table:
    type: object
    description: |
      Science channel refers to the channel number in the science coordinate reference frame.
      One-based indexing. reference frames are outlined at:
      https://roman-docs.stsci.edu/data-handbook-home/wfi-data-format/coordinate-systems
    patternProperties:
      "^science_channel_(0[1-9]|[1-2][0-9]|3[0-2])$":
        type: object
        properties:
          instrument_channel:
            title: Instrument Channel Number
            description: |
              Instrument channel refers to the channel number in the detector coordinate reference frame.
              Zero-based indexing.
            type: integer
          correction:
            title: Channel Correction
            description: |
              Channel Correction
            anyOf:
              - type: "null"
              - tag: tag:stsci.edu:asdf/core/ndarray-1.*
                datatype: float64
                exact_datatype: true
                ndim: 1
        required: [instrument_channel, correction]
    additionalProperties: false
  value:
    title: Integral Inverse Linearity
    description: |
      Integral Inverse Linearity
    anyOf:
      - type: "null"
      - tag: tag:stsci.edu:asdf/core/ndarray-1.*
        datatype: uint16
        exact_datatype: true
        ndim: 1
required: [meta, inl_table, value]
flowStyle: block
propertyOrder: [meta, inl_table, value]