refpix-1.0.0

Reference Pixel Correction Reference Schema

Outline

Schema Definitions

This type is an object with the following properties:

  • meta

    objectRequired

    This node must validate against all of the following:

    • This type is an object with the following properties:

      • reftype

        string
        No length restriction

        Only the following values are valid for this node:

        • REFPIX

      • input_units

        tag:astropy.org:astropy/units/unit-1.*Required

        Only the following values are valid for this node:

        • DN

      • output_units

        tag:astropy.org:astropy/units/unit-1.*Required

        Only the following values are valid for this node:

        • DN

  • gamma

    tag:stsci.edu:asdf/core/ndarray-1.*Required
  • zeta

    tag:stsci.edu:asdf/core/ndarray-1.*Required
  • alpha

    tag:stsci.edu:asdf/core/ndarray-1.*Required

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/refpix-1.0.0

title: Reference Pixel Correction Reference Schema

# NOTE: this needs titles and descriptions added.

datamodel_name: RefpixRefModel

type: object
properties:
  meta:
    allOf:
      - $ref: ref_common-1.0.0
      - type: object
        properties:
          reftype:
            type: string
            enum: [REFPIX]
          input_units:
            title: Units of the input to the linearity polynomial.
            tag: tag:astropy.org:astropy/units/unit-1.*
            enum: ["DN"]
          output_units:
            title: Units of the output of the linearity polynomial.
            tag: tag:astropy.org:astropy/units/unit-1.*
            enum: ["DN"]
        required: [output_units, input_units]

  gamma:
    title: Left column correction coefficients
    tag: tag:stsci.edu:asdf/core/ndarray-1.*
    datatype: complex128
    exact_datatype: true
    ndim: 2

  zeta:
    title: Right column correction coefficients
    tag: tag:stsci.edu:asdf/core/ndarray-1.*
    datatype: complex128
    exact_datatype: true
    ndim: 2

  alpha:
    title: Reference output correction coefficients
    tag: tag:stsci.edu:asdf/core/ndarray-1.*
    datatype: complex128
    exact_datatype: true
    ndim: 2

required: [meta, gamma, zeta, alpha]
flowStyle: block
propertyOrder: [meta, gamma, zeta, alpha]
...