Debian Codegraph @

resources/schemas/stsci.edu/gwcs/spherical_cartesian-1.1.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/spherical_cartesian-1.1.0"
5
6 title: >
7 Convert coordinates between spherical and Cartesian coordinates.
8
9 description: |
10 This schema is for transforms which convert between spherical coordinates
11 (on the unit sphere) and Cartesian coordinates.
12
13 examples:
14 -
15 - Convert spherical coordinates to Cartesian coordinates.
16 - asdf-standard-1.5.0
17 - |
18
19 !<tag:stsci.edu:gwcs/spherical_cartesian-1.1.0>
20 transform_type: spherical_to_cartesian
21
22 -
23 - Convert Cartesian coordinates to spherical coordinates.
24 - asdf-standard-1.5.0
25 - |
26 !<tag:stsci.edu:gwcs/spherical_cartesian-1.1.0>
27 transform_type: cartesian_to_spherical
28
29 allOf:
30 - $ref: "http://stsci.edu/schemas/asdf/transform/transform-1.2.0"
31 - object:
32 properties:
33 wrap_lon_at:
34 description: Angle at which to wrap the longitude angle.
35 type: integer
36 enum: [180, 360]
37 default: 360
38 transform_type:
39 description: The type of transform/class to initialize.
40 type: string
41 enum: [spherical_to_cartesian, cartesian_to_spherical]
42
43 required: [transform_type, wrap_lon_at]
44 ...