gain-1.0.0

Gain Reference File 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:

        • GAIN

  • data

    tag:stsci.edu:asdf/unit/quantity-1.*Required

    The Gain Data Array represents the pixel to pixel conversion from digital numbers (DN) to electrons (e). The units are e/DN.

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

title: Gain Reference File Schema

datamodel_name: GainRefModel

type: object
properties:
  meta:
    allOf:
      - $ref: ref_common-1.0.0
      - type: object
        properties:
          reftype:
            type: string
            enum: [GAIN]
  data:
    title: Gain Data Array
    description: |
      The Gain Data Array represents the pixel to pixel conversion from digital
      numbers (DN) to electrons (e). The units are e/DN.
    tag: tag:stsci.edu:asdf/unit/quantity-1.*
    properties:
      value:
        tag: tag:stsci.edu:asdf/core/ndarray-1.*
        datatype: float32
        exact_datatype: true
        ndim: 2
      unit:
        tag: tag:astropy.org:astropy/units/unit-1.*
        enum: ["electron / DN"]
required: [meta, data]
flowStyle: block
propertyOrder: [meta, data]
...