Debian Codegraph @

resources/schemas/stsci.edu/gwcs/frame-1.0.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.0.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 - |
17 !<tag:stsci.edu:gwcs/celestial_frame-1.0.0>
18 axes_names: [lon, lat]
19 name: CelestialFrame
20 reference_frame: !<tag:astropy.org:astropy/coordinates/frames/icrs-1.1.0>
21 frame_attributes: {}
22 unit: [!unit/unit-1.0.0 deg, !unit/unit-1.0.0 deg]
23
24 -
25 - |
26 A pixel frame in three dimensions
27 - |
28 !<tag:stsci.edu:gwcs/frame-1.0.0>
29 axes_names: [raster position, slit position, wavelength]
30 axes_order: [0, 1, 2]
31 axes_type: [SPATIAL, SPATIAL, SPECTRAL]
32 name: pixel
33 naxes: 3
34 unit: [!unit/unit-1.0.0 pixel, !unit/unit-1.0.0 pixel, !unit/unit-1.0.0 pixel]
35
36 type: object
37 properties:
38 name:
39 description: |
40 A user-friendly name for the frame.
41 type: string
42
43 axes_order:
44 description: |
45 The order of the axes.
46 type: array
47 items:
48 type: integer
49
50 axes_names:
51 description: |
52 The name of each axis in this frame.
53 type: array
54 items:
55 anyOf:
56 - type: string
57 - type: 'null'
58
59 reference_frame:
60 description: |
61 The reference frame.
62 $ref: "http://astropy.org/schemas/astropy/coordinates/frames/baseframe-1.0.0"
63
64 unit:
65 description: |
66 Units for each axis.
67 type: array
68 items:
69 $ref: "http://stsci.edu/schemas/asdf/unit/unit-1.0.0"
70
71 axis_physical_types:
72 description: |
73 An iterable of strings describing the physical type for each world axis.
74 These should be names from the VO UCD1+ controlled Vocabulary
75 (http://www.ivoa.net/documents/latest/UCDlist.html).
76 type: array
77 items:
78 type:
79 string
80
81 required: [name]
82 additionalProperties: true
83 ...