Debian Codegraph @

resources/schemas/longitude-1.0.0.yaml

raw
1 %YAML 1.1
2 ---
3 $schema: "http://stsci.edu/schemas/yaml-schema/draft-01"
4 id: "http://astropy.org/schemas/astropy/coordinates/longitude-1.0.0"
5
6 title: |
7 Represents longitude-like angles.
8
9 description: |
10 Longitude-like angle(s) which are wrapped within a contiguous 360 degree range.
11
12 examples:
13 -
14 - A Longitude object in Degrees
15 - |
16 !<tag:astropy.org:astropy/coordinates/longitude-1.0.0>
17 unit: !unit/unit-1.0.0 deg
18 value: 10.0
19 wrap_angle: !<tag:astropy.org:astropy/coordinates/angle-1.0.0>
20 unit: !unit/unit-1.0.0 deg
21 value: 180.0
22
23 type: object
24 properties:
25 value:
26 description: |
27 A vector of one or more values
28 anyOf:
29 - type: number
30 - $ref: "http://stsci.edu/schemas/asdf/core/ndarray-1.0.0"
31 unit:
32 description: |
33 The unit corresponding to the values
34 $ref: "http://stsci.edu/schemas/asdf/unit/unit-1.0.0"
35 wrap_angle:
36 description: |
37 Angle at which to wrap back to ``wrap_angle - 360 deg``.
38 $ref: "angle-1.0.0"
39
40 required: [value, unit, wrap_angle]
41 ...