linearity-1.2.0
Linearity Correction Reference Schema
Outline
Schema Definitions ¶
This type is an object with the following properties:
- meta- object - Required - This node must validate against all of the following: - This type is an object with the following properties: - reftype
 No length restriction- string - Only the following values are valid for this node: - LINEARITY 
 
 
 
- coeffs- tag:stsci.edu:asdf/core/ndarray-1.* - Required - Linearity Coefficients - Contains the coefficients of a polynomial to correct the non-linear response of each pixel to a linear signal. Both the input to and output from the polynomial are in units of DN. The coefficients have units that contain various powers of DN. 
- dq- tag:stsci.edu:asdf/core/ndarray-1.* - Required - Two Dimensional Data Quality Array for All Resultants - Two Dimensional data Quality Array for all Resultants 
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/linearity-1.2.0
title: Linearity Correction Reference Schema
datamodel_name: LinearityRefModel
type: object
properties:
  meta:
    allOf:
      - $ref: asdf://stsci.edu/datamodels/roman/schemas/reference_files/ref_common-1.2.0
      - type: object
        input_units: "DN"
        output_units: "DN"
        properties:
          reftype:
            type: string
            enum: [LINEARITY]
  coeffs:
    title: Linearity Coefficients
    description: |
      Contains the coefficients of a polynomial to correct the non-linear
      response of each pixel to a linear signal. Both the input to and output
      from the polynomial are in units of DN. The coefficients have units that
      contain various powers of DN.
    tag: tag:stsci.edu:asdf/core/ndarray-1.*
    datatype: float32
    exact_datatype: true
    # Dimensions: numcoeffs, ysize, xsize
    ndim: 3
  dq:
    title: Two Dimensional Data Quality Array for All Resultants
    description: |
      Two Dimensional data Quality Array for all Resultants
    tag: tag:stsci.edu:asdf/core/ndarray-1.*
    datatype: uint32
    exact_datatype: true
    ndim: 2
required: [meta, coeffs, dq]
flowStyle: block
propertyOrder: [meta, coeffs, dq]