Debian Codegraph @

resources/schemas/stsci.edu/gwcs/frame-1.2.0.yaml

raw
1 %YAML 1.1
2 ---
3 $schema: "http://stsci.edu/schemas/yaml-schema/draft-01"
4 id: "http://stsci.edu/schemas/gwcs/frame-1.2.0"
5 title: |
6 The base class of all coordinate frames.
7
8 description: |
9 These objects are designed to be nested in arbitrary ways to build up
10 transformation pipelines out of a number of low-level pieces.
11
12 examples:
13 -
14 - |
15 A celestial frame in the ICRS reference frame.
16 - asdf-standard-1.6.0
17 - |
18 !<tag:stsci.edu:gwcs/celestial_frame-1.1.0>
19 axes_names: [lon, lat]
20 name: CelestialFrame
21 reference_frame: !<tag:astropy.org:astropy/coordinates/frames/icrs-1.1.0>
22 frame_attributes: {}
23 unit: [!unit/unit-1.0.0 deg, !unit/unit-1.0.0 deg]
24
25 -
26 - |
27 A pixel frame in three dimensions
28 - asdf-standard-1.6.0
29 - |
30 !<tag:stsci.edu:gwcs/frame-1.2.0>
31 axes_names: [raster position, slit position, wavelength]
32 axes_order: [0, 1, 2]
33 axes_type: [SPATIAL, SPATIAL, SPECTRAL]
34 name: pixel
35 naxes: 3
36 unit: [!unit/unit-1.0.0 pixel, !unit/unit-1.0.0 pixel, !unit/unit-1.0.0 pixel]
37
38 type: object
39 properties:
40 name:
41 description: |
42 A user-friendly name for the frame.
43 type: string
44
45 axes_order:
46 description: |
47 The order of the axes.
48 type: array
49 items:
50 type: integer
51
52 axes_names:
53 description: |
54 The name of each axis in this frame.
55 type: array
56 items:
57 anyOf:
58 - type: string
59 - type: 'null'
60
61 reference_frame:
62 description: |
63 The reference frame.
64 $ref: "http://astropy.org/schemas/astropy/coordinates/frames/baseframe-1.2.0"
65
66 unit:
67 description: |
68 Units for each axis.
69 type: array
70 items:
71 anyOf:
72 - tag: "tag:stsci.edu:asdf/unit/unit-1.*"
73 - tag: "tag:astropy.org:astropy/units/unit-1.*"
74
75 axis_physical_types:
76 description: |
77 An iterable of strings describing the physical type for each world axis.
78 These should be names from the VO UCD1+ controlled Vocabulary
79 (http://www.ivoa.net/documents/latest/UCDlist.html).
80 type: array
81 items:
82 type:
83 string
84
85 required: [name]
86 additionalProperties: true
87 ...