Debian Codegraph @

resources/schemas/stsci.edu/gwcs/spherical_cartesian-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/spherical_cartesian-1.0.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 !<tag:stsci.edu:gwcs/spherical_cartesian-1.0.0>
19 transform_type: spherical_to_cartesian
20
21 -
22 - Convert Cartesian coordinates to spherical coordinates.
23 - asdf-standard-1.5.0
24 - |
25 !<tag:stsci.edu:gwcs/spherical_cartesian-1.0.0>
26 transform_type: cartesian_to_spherical
27
28 allOf:
29 - $ref: "http://stsci.edu/schemas/asdf/transform/transform-1.1.0"
30 - object:
31 properties:
32 wrap_lon_at:
33 description: Angle at which to wrap the longitude angle.
34 type: integer
35 enum: [180, 360]
36 default: 360
37 transform_type:
38 description: The type of transform/class to initialize.
39 type: string
40 enum: [spherical_to_cartesian, cartesian_to_spherical]
41
42 required: [transform_type, wrap_lon_at]
43 ...