Debian Codegraph @

asdf_astropy/resources/schemas/wcs/slicedwcs-1.1.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/wcs/slicedwcs-1.1.0"
5
6 title: Represents the SlicedLowLevelWCS object
7
8 description: >-
9 The SlicedLowLevelWCS class is a wrapper class for WCS that applies slices
10 to the WCS, allowing certain pixel and world dimensions to be retained or
11 dropped.
12 It manages the slicing and coordinate transformations while preserving
13 the underlying WCS object.
14
15 allOf:
16 - type: object
17 properties:
18 wcs:
19 anyOf:
20 # Known WCS objects
21 - tag: "tag:astropy.org:astropy/wcs/wcs-1*"
22 - tag: "tag:stsci.edu:gwcs/wcs-*"
23 - tag: "tag:astropy.org:astropy/wcs/slicedwcs-*"
24 - tag: "tag:sunpy.org:ndcube/resampledwcs-*"
25 - tag: "tag:sunpy.org:ndcube/ndcubesequence-*"
26 - tag: "tag:sunpy.org:ndcube/reorderedwcs-*"
27 - tag: "tag:sunpy.org:ndcube/compoundwcs-*"
28 # Allow anything else because any APE-14 compliant object is valid
29 - {}
30
31 slices_array:
32 type: array
33 items:
34 - oneOf:
35 - type: integer
36 - type: object
37 properties:
38 start:
39 anyOf:
40 - type: integer
41 - type: "null"
42 stop:
43 anyOf:
44 - type: integer
45 - type: "null"
46 step:
47 anyOf:
48 - type: integer
49 - type: "null"
50
51
52 required: ["wcs", "slices_array"]