wcs/slicedwcs-1.0.0

Represents the SlicedLowLevelWCS object

Description

The SlicedLowLevelWCS class is a wrapper class for WCS that applies slices to the WCS, allowing certain pixel and world dimensions to be retained or dropped. It manages the slicing and coordinate transformations while preserving the underlying WCS object.

Outline

Schema Definitions

This node must validate against all of the following:

  • This type is an object with the following properties:

    • wcs

      tag:astropy.org:astropy/wcs/wcs-1*Required
    • slices_array

      arrayRequired
      No length restriction

      The first 1 item in the list must be the following types:

        This node must validate against one of the following:

        • integer

        • This type is an object with the following properties:

          • start

            object

            This node must validate against any of the following:

            • integer

            • null

          • stop

            object

            This node must validate against any of the following:

            • integer

            • null

          • step

            object

            This node must validate against any of the following:

            • integer

            • null

Original Schema

%YAML 1.1
---
$schema: "http://stsci.edu/schemas/yaml-schema/draft-01"
id: "http://astropy.org/schemas/astropy/wcs/slicedwcs-1.0.0"

title: Represents the SlicedLowLevelWCS object

description: >-
  The SlicedLowLevelWCS class is a wrapper class for WCS that applies slices
  to the WCS, allowing certain pixel and world dimensions to be retained or
  dropped.
  It manages the slicing and coordinate transformations while preserving
  the underlying WCS object.

allOf:
  - type: object
    properties:
      wcs:
        tag: "tag:astropy.org:astropy/wcs/wcs-1*"
      slices_array:
        type: array
        items:
          - oneOf:
            - type: integer
            - type: object
              properties:
                start:
                  anyOf:
                    - type: integer
                    - type: "null"
                stop:
                  anyOf:
                    - type: integer
                    - type: "null"
                step:
                  anyOf:
                    - type: integer
                    - type: "null"


    required: ["wcs", "slices_array"]