pixelarea-1.0.0

Pixel Area 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:

        • AREA

      • photometry

        objectRequired

        This type is an object with the following properties:

        • pixelarea_steradians

          objectRequired

          The nominal pixel area in steradians.

          This node must validate against any of the following:

          • This type is an object with the following properties:

            • datatype

              object
              This node has no type definition (unrestricted)
            • unit

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

              Only the following values are valid for this node:

              • sr

          • null

        • pixelarea_arcsecsq

          objectRequired

          The nominal pixel area in arcec^2.

          This node must validate against any of the following:

          • This type is an object with the following properties:

            • datatype

              object
              This node has no type definition (unrestricted)
            • unit

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

              Only the following values are valid for this node:

              • arcsec**2

          • null

  • data

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

    Pixel area in units of of either arcseconds or steradians.

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

title: Pixel Area Reference Schema

datamodel_name: PixelareaRefModel

type: object
properties:
  meta:
    allOf:
      - $ref: ref_common-1.0.0
      - type: object
        properties:
          reftype:
            type: string
            enum: [AREA]
          photometry:
            type: object
            properties:
              pixelarea_steradians:
                title: Pixel Area (steradians)
                description: |
                  The nominal pixel area in steradians.
                anyOf:
                  - tag: tag:stsci.edu:asdf/unit/quantity-1.*
                    properties:
                      datatype:
                        enum: ["float64"]
                      unit:
                        tag: tag:stsci.edu:asdf/unit/unit-1.*
                        enum: ["sr"]
                  - type: "null"
              pixelarea_arcsecsq:
                title: Pixel Area (arcsec^2)
                description:
                  The nominal pixel area in arcec^2.
                anyOf:
                  - tag: tag:stsci.edu:asdf/unit/quantity-1.*
                    properties:
                      datatype:
                        enum: ["float64"]
                      unit:
                        tag: tag:stsci.edu:asdf/unit/unit-1.*
                        enum: ["arcsec**2"]
                  - type: "null"
            required: [pixelarea_steradians, pixelarea_arcsecsq]
        required: [photometry]
      - $ref: ref_optical_element-1.0.0
  data:
    title: Pixel Area Array
    description: |
      Pixel area in units of of either arcseconds or steradians.
    tag: tag:stsci.edu:asdf/core/ndarray-1.*
    datatype: float32
    exact_datatype: true
    ndim: 2
required: [meta, data]
flowStyle: block
propertyOrder: [meta, data]
...