CelestialFrame

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

Bases: gwcs.coordinate_frames.CoordinateFrame

Celestial Frame Representation

Parameters:

axes_order : tuple of int

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

reference_frame : astropy.coordinates.builtin_frames

A reference frame.

reference_position : str

Reference position.

unit : str or units.Unit instance or iterable of those

Units on axes.

axes_names : list

Names of the axes in this frame.

name : str

Name of this frame.

Methods Summary

coordinate_to_quantity(*coords) Given a rich coordinate object return an astropy quantity object.
coordinates(*args) Create a SkyCoord object.

Methods Documentation

coordinate_to_quantity(*coords)[source]

Given a rich coordinate object return an astropy quantity object.

coordinates(*args)[source]

Create a SkyCoord object.

Parameters:

args : float

inputs to wcs.input_frame