distortion-1.0.0

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

        • DISTORTION

      • input_units

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

        The pixel input units of the detector coordinate model.

        Only the following values are valid for this node:

        • pixel

      • output_units

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

        The V2/V3 coordinates output units after the model is applied.

        Only the following values are valid for this node:

        • arcsec

  • coordinate_distortion_transform

    objectRequired

    The astropy.modeling.Model instance of of the distortion transform model.

    object

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

title: Distortion Reference Schema

datamodel_name: DistortionRefModel

type: object
properties:
  meta:
    allOf:
      - $ref: ref_common-1.0.0
      - type: object
        properties:
          reftype:
            type: string
            enum: [DISTORTION]
          input_units:
            title: Input Model Units
            description: |
              The pixel input units of the detector coordinate model.
            tag: tag:stsci.edu:asdf/unit/unit-1.*
            enum: ["pixel"]
          output_units:
            title: Output Model Units
            description: |
              The V2/V3 coordinates output units after the model is applied.
            tag: tag:stsci.edu:asdf/unit/unit-1.*
            enum: ["arcsec"]
        required: [output_units, input_units]
      - $ref: ref_optical_element-1.0.0
  coordinate_distortion_transform:
    title: Distortion Transform Model
    description: |
      The astropy.modeling.Model instance of of the distortion transform model.
    type: object
required: [meta, coordinate_distortion_transform]
flowStyle: block
propertyOrder: [meta, coordinate_distortion_transform]
...