Debian Codegraph @

resources/schemas/angle-1.2.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.2.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 - asdf-standard-1.6.0
19 - |
20 !<tag:astropy.org:astropy/coordinates/angle-1.2.0>
21 unit: !unit/unit-1.0.0 deg
22 value: 10.0
23
24 type: object
25 properties:
26 value:
27 description: |
28 A vector of one or more values
29 anyOf:
30 - type: number
31 - tag: "tag:stsci.edu:asdf/core/ndarray-1.*"
32 unit:
33 description: |
34 The unit corresponding to the values
35 anyOf:
36 - tag: "tag:stsci.edu:asdf/unit/unit-1.*"
37 - tag: "tag:astropy.org:astropy/units/unit-1.*"
38 required: [value, unit]
39 ...