frame-1.0.0: The base class of all coordinate frames.¶
Type: object.
The base class of all coordinate frames.
These objects are designed to be nested in arbitrary ways to build up transformation pipelines out of a number of low-level pieces.
Properties:
name
Type: string. Required.
A user-friendly name for the frame.
axes_order
Type: array of ( integer ).
The order of the axes.
Items:
Type: integer.
axes_names
Type: array of ( string or null ).
The name of each axis in this frame.
Items:
Type: string or null.
Any of:
—
Type: string.
—
Type: null.
reference_frame
Type:
baseframe-1.0.0
.The reference frame.
unit
Type: array of (
unit-1.0.0
).Units for each axis.
Items:
Type:
unit-1.0.0
.axis_physical_types
Type: array of ( string ).
An iterable of strings describing the physical type for each world axis. These should be names from the VO UCD1+ controlled Vocabulary (http://www.ivoa.net/documents/latest/UCDlist.html).
Items:
Type: string.
Examples:
A celestial frame in the ICRS reference frame.
!<tag:stsci.edu:gwcs/celestial_frame-1.0.0>
axes_names: [lon, lat]
name: CelestialFrame
reference_frame: !<tag:astropy.org:astropy/coordinates/frames/icrs-1.1.0>
frame_attributes: {}
unit: [!unit/unit-1.0.0 deg, !unit/unit-1.0.0 deg]
A pixel frame in three dimensions
!<tag:stsci.edu:gwcs/frame-1.0.0>
axes_names: [raster position, slit position, wavelength]
axes_order: [0, 1, 2]
axes_type: [SPATIAL, SPATIAL, SPECTRAL]
name: pixel
naxes: 3
unit: [!unit/unit-1.0.0 pixel, !unit/unit-1.0.0 pixel, !unit/unit-1.0.0 pixel]