dark-1.4.0

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

  • dq

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

    2-D Data Quality Array

    The 2-D data quality array for the Dark Current Array.

  • dark_slope

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

    Dark Current Rate Array

    The dark current rate array represents the slope of the integrated number of counts due to the accumulation of dark current electrons in the pixels calculated from slope fitting the Dark Current Array.

  • dark_slope_error

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

    Dark Current Rate Uncertainty Array

    The uncertainty calculated from the slope fitting of the Dark Current Array.

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/dark-1.4.0

title: Dark Reference File Schema

datamodel_name: DarkRefModel

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: [DARK]
          exposure:
            type: object
            properties:
              ma_table_name:
                title: Multi-Accumulation Table Name
                description: |
                  The name of the MA Table used. Not a unique identifier; see
                  ma_table_number.
                type: string
              ma_table_number:
                title: Multi-Accumulation Table Number
                description: |
                  The unique number of the MA Table used. A modification to a MA
                  Table that keeps the same name will have a new
                  ma_table_number.
                type: integer
            required: [ma_table_name, ma_table_number]
        required: [exposure]
      - $ref: asdf://stsci.edu/datamodels/roman/schemas/reference_files/ref_exposure_type-1.3.0
      - $ref: asdf://stsci.edu/datamodels/roman/schemas/reference_files/ref_optical_element-1.3.0
  dq:
    title: 2-D Data Quality Array
    description: |
      The 2-D data quality array for the Dark Current Array.
    tag: tag:stsci.edu:asdf/core/ndarray-1.*
    datatype: uint32
    exact_datatype: true
    ndim: 2
  dark_slope:
    title: Dark Current Rate Array
    description: |
      The dark current rate array represents the slope of the integrated number
      of counts due to the accumulation of dark current electrons in the pixels
      calculated from slope fitting the Dark Current Array.
    tag: tag:stsci.edu:asdf/core/ndarray-1.*
    datatype: float32
    exact_datatype: true
    ndim: 2
    unit: DN / s
  dark_slope_error:
    title: Dark Current Rate Uncertainty Array
    description: |
      The uncertainty calculated from the slope fitting of the Dark Current
      Array.
    tag: tag:stsci.edu:asdf/core/ndarray-1.*
    datatype: float32
    exact_datatype: true
    ndim: 2
    unit: DN / s
required: [meta, dq, dark_slope, dark_slope_error]
flowStyle: block
propertyOrder: [meta, dq, dark_slope, dark_slope_error]