CelestialFrame

class gwcs.coordinate_frames.CelestialFrame(axes_order=None, reference_frame=None, unit=None, axes_names=None, name=None, axis_physical_types=None)[source]

Bases: CoordinateFrame

Celestial Frame Representation

Parameters
axes_ordertuple of int

A dimension in the input data that corresponds to this axis.

reference_frameastropy.coordinates.builtin_frames

A reference frame.

unitstr or units.Unit instance or iterable of those

Units on axes.

axes_nameslist

Names of the axes in this frame.

namestr

Name of this frame.

Methods Summary

coordinate_to_quantity(*coords)

Convert a SkyCoord object to quantities.

coordinates(*args)

Create a SkyCoord object.

Methods Documentation

coordinate_to_quantity(*coords)[source]

Convert a SkyCoord object to quantities.

coordinates(*args)[source]

Create a SkyCoord object.

Parameters
argsfloat

inputs to wcs.input_frame