| 1 |
%YAML 1.1 |
| 2 |
--- |
| 3 |
$schema: "http://stsci.edu/schemas/yaml-schema/draft-01" |
| 4 |
id: "http://stsci.edu/schemas/gwcs/wcs-1.2.0" |
| 5 |
|
| 6 |
title: > |
| 7 |
A system for describing generalized world coordinate transformations. |
| 8 |
description: > |
| 9 |
ASDF WCS is a way of specifying transformations (usually from |
| 10 |
detector space to world coordinate space and back) by using the |
| 11 |
transformations in the `transform-schema` module. |
| 12 |
type: object |
| 13 |
properties: |
| 14 |
name: |
| 15 |
description: | |
| 16 |
A descriptive name for this WCS. |
| 17 |
type: string |
| 18 |
|
| 19 |
pixel_shape: |
| 20 |
description: | |
| 21 |
The optional shape of the data that the WCS applies to as an array |
| 22 |
in ``(x, y)`` order (where for an image, ``x`` is the horizontal |
| 23 |
coordinate and ``y`` is the vertical coordinate) or ``None`` if not |
| 24 |
defined for this WCS. |
| 25 |
anyOf: |
| 26 |
- type: 'null' |
| 27 |
- type: array |
| 28 |
|
| 29 |
steps: |
| 30 |
description: | |
| 31 |
A list of steps in the forward transformation from detector to |
| 32 |
world coordinates. |
| 33 |
The inverse transformation is determined automatically by |
| 34 |
reversing this list, and inverting each of the individual |
| 35 |
transforms according to the rules described in |
| 36 |
[inverse](https://asdf-standard.readthedocs.io/en/latest/generated/stsci.edu/asdf/transform/transform-1.2.0.html#inverse). |
| 37 |
type: array |
| 38 |
items: |
| 39 |
$ref: step-1.1.0 |
| 40 |
|
| 41 |
required: [name, steps] |
| 42 |
additionalProperties: true |
| 43 |
... |