constant-1.4.0¶
A Constant transform.
Description
Invertibility: A transform which takes one or two inputs based on dimensionality and returns a constant value. It has no analytical inverse.
Outline
Schema Definitions ¶
This node must validate against all of the following:
This type is an object with the following properties:
value
object Required This node must validate against any of the following:
number
dimensions
integer Required
Original Schema ¶
%YAML 1.1
---
$schema: "http://stsci.edu/schemas/yaml-schema/draft-01"
id: "http://stsci.edu/schemas/asdf/transform/constant-1.4.0"
title: >
A Constant transform.
description: |
Invertibility: A transform which takes one or two inputs based on
dimensionality and returns a constant value. It has no analytical inverse.
allOf:
- $ref: "transform-1.2.0"
- type: object
properties:
value:
anyOf:
- $ref: "../unit/quantity-1.1.0"
- type: number
dimensions:
type: integer
required: [value, dimensions]
...