spectralcoord-1.0.0¶
Represents a SpectralCoord object from astropy
Outline
Schema Definitions ¶
This type is an object with the following properties:
value
object Required A vector of one or more values
This node must validate against any of the following:
number
unit
http://stsci.edu/schemas/asdf/unit/unit-1.0.0 Required The unit corresponding to the values
observer
http://astropy.org/schemas/astropy/coordinates/frames/baseframe-1.0.0 The observer frame for this coordinate
target
http://astropy.org/schemas/astropy/coordinates/frames/baseframe-1.0.0 The target frame for this coordinate
Original Schema ¶
%YAML 1.1
---
$schema: "http://stsci.edu/schemas/yaml-schema/draft-01"
id: "http://astropy.org/schemas/astropy/coordinates/spectralcoord-1.0.0"
title: >
Represents a SpectralCoord object from astropy
type: object
properties:
value:
description: |
A vector of one or more values
anyOf:
- type: number
- $ref: "http://stsci.edu/schemas/asdf/core/ndarray-1.0.0"
unit:
description: |
The unit corresponding to the values
$ref: "http://stsci.edu/schemas/asdf/unit/unit-1.0.0"
observer:
description: |
The observer frame for this coordinate
$ref: "http://astropy.org/schemas/astropy/coordinates/frames/baseframe-1.0.0"
target:
description: |
The target frame for this coordinate
$ref: "http://astropy.org/schemas/astropy/coordinates/frames/baseframe-1.0.0"
required: [value, unit]
...