constant-1.0.0

A transform that takes no inputs and always outputs a constant value.

Description

Invertibility: All ASDF tools are required to be able to compute the analytic inverse of this transform, which always outputs zero values.

Outline

Schema Definitions

This node must validate against all of the following:

  • This type is an object with the following properties:

    • value

      numberRequired

Original Schema

%YAML 1.1
---
$schema: "http://stsci.edu/schemas/yaml-schema/draft-01"
id: "http://stsci.edu/schemas/asdf/transform/constant-1.0.0"
title: >
  A transform that takes no inputs and always outputs a constant
  value.
description: |
  Invertibility: All ASDF tools are required to be able to compute the
  analytic inverse of this transform, which always outputs zero values.
allOf:
  - $ref: "transform-1.0.0"
  - type: object
    properties:
      value:
        type: number
    required: [value]
...