| 1 |
%YAML 1.1 |
| 2 |
--- |
| 3 |
$schema: "http://stsci.edu/schemas/yaml-schema/draft-01" |
| 4 |
id: "http://stsci.edu/schemas/gwcs/direction_cosines-1.0.0" |
| 5 |
|
| 6 |
title: > |
| 7 |
Convert coordinates between vector and direction cosine form. |
| 8 |
|
| 9 |
description: | |
| 10 |
This schema is for transforms which convert to and from direction cosines. |
| 11 |
|
| 12 |
examples: |
| 13 |
- |
| 14 |
- Convert direction cosines to vectors. |
| 15 |
|
| 16 |
- | |
| 17 |
|
| 18 |
!<tag:stsci.edu:gwcs/direction_cosines-1.0.0> |
| 19 |
transform_type: from_direction_cosines |
| 20 |
|
| 21 |
- |
| 22 |
- Convert vectors to directional cosines. |
| 23 |
|
| 24 |
- | |
| 25 |
!<tag:stsci.edu:gwcs/direction_cosines-1.0.0> |
| 26 |
transform_type: to_direction_cosines |
| 27 |
|
| 28 |
allOf: |
| 29 |
- $ref: "http://stsci.edu/schemas/asdf/transform/transform-1.1.0" |
| 30 |
- object: |
| 31 |
properties: |
| 32 |
transform_type: |
| 33 |
description: | |
| 34 |
The type of transform/class to initialize. |
| 35 |
type: string |
| 36 |
enum: [to_direction_cosines, from_direction_cosines] |
| 37 |
required: [transform_type] |
| 38 |
... |