Debian Codegraph @

resources/schemas/stsci.edu/gwcs/fitswcs_imaging-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/fitswcs_imaging-1.0.0"
5
6 title: FITS WCS Imaging Transform
7
8 description: |
9 This transform represents a FITS WCS standard Imaging transform.
10 It is defined by the typical FITS WCS parameters (CRPIX, CRVAL, CDELT, PC
11 and projection) and implemented using astropy.modeling transforms. Unlike
12 the FITS implementation inputs and CRPIX are 0-indexed.
13
14
15 allOf:
16 - $ref: "http://stsci.edu/schemas/asdf/transform/transform-1.4.0"
17 - object:
18 properties:
19 crpix:
20 title: CRPIX
21 description: |
22 Pixel coordinate of the reference point, 0-indexed.
23 tag: "tag:stsci.edu:asdf/core/ndarray-1.*"
24 ndim: 1
25 datatype: float64
26 shape: [2]
27 crval:
28 title: CRVAL
29 description: |
30 Celestial longitude and latitude of the fiducial point (in degrees).
31 tag: "tag:stsci.edu:asdf/core/ndarray-1.*"
32 ndim: 1
33 datatype: float64
34 shape: [2]
35 cdelt:
36 title: CDELT
37 description: |
38 Coordinate scales.
39 tag: "tag:stsci.edu:asdf/core/ndarray-1.*"
40 ndim: 1
41 datatype: float64
42 shape: [2]
43 pc:
44 title: PC matrix
45 description: |
46 Linear transformation matrix.
47 tag: "tag:stsci.edu:asdf/core/ndarray-1.*"
48 ndim: 2
49 datatype: float64
50 shape: [2, 2]
51 projection:
52 title: Celestial sphere projection
53 description: |
54 An instance of one of the classes in astropy.modeling.projections.
55 anyOf:
56 - $ref: "http://stsci.edu/schemas/asdf/transform/zenithal-1.4.0"
57 - $ref: "http://stsci.edu/schemas/asdf/transform/conic-1.5.0"
58 - $ref: "http://stsci.edu/schemas/asdf/transform/quadcube-1.4.0"
59 - $ref: "http://stsci.edu/schemas/asdf/transform/pseudoconic-1.4.0"
60 - $ref: "http://stsci.edu/schemas/asdf/transform/pseudocylindrical-1.4.0"
61 - $ref: "http://stsci.edu/schemas/asdf/transform/cylindrical-1.4.0"
62
63 required: [crpix, crval, cdelt, pc, projection]
64 ...