wcs/wcs-1.0.0

Represents the fits object

Description

Represents the FITS WCS object, the HDUlist of the FITS header is preserved during serialization and during deserialization the WCS object is recreated from the HDUlist.

Outline

Schema Definitions

This node must validate against all of the following:

  • This type is an object with the following properties:

    • hdulist

      tag:astropy.org:astropy/fits/fits-*Required
    • attrs

      objectRequired

      object

Original Schema

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

title: Represents the fits object

description: >-
  Represents the FITS WCS object, the HDUlist of the FITS header is preserved
  during serialization and during deserialization the WCS object is recreated
  from the HDUlist.

allOf:
  - type: object
    properties:
      hdulist:
        title: "HDUList produced by WCS.to_fits"
        tag: "tag:astropy.org:astropy/fits/fits-*"
      attrs:
        title: "extra WCS attributes not contained in hdulist"
        type: object

    required: ["hdulist", "attrs"]