Debian Codegraph @

resources/schemas/angle-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/angle-1.0.0"
5
6 title: |
7 Represents an Angle.
8
9 # TODO: Is there any restriction on the range of values? The next
10 # version of the schema should make this explicit.
11 description:
12 This object represents a subtype of Quantity which has units equivalent to
13 radians or degrees.
14
15 examples:
16 -
17 - An Angle object in Degrees
18 - |
19 !<tag:astropy.org:astropy/coordinates/angle-1.0.0>
20 unit: !unit/unit-1.0.0 deg
21 value: 10.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 required: [value, unit]
36 ...