SpectralFrame¶
-
class
gwcs.coordinate_frames.
SpectralFrame
(axes_order=(0, ), reference_frame=None, unit=None, axes_names=None, name=None, reference_position=None)[source]¶ Bases:
gwcs.coordinate_frames.CoordinateFrame
Represents Spectral Frame
Parameters: axes_order : tuple or int
A dimension in the input data that corresponds to this axis.
reference_frame : astropy.coordinates.builtin_frames
Reference frame (usually used with output_frame to convert to world coordinate objects).
unit : str or units.Unit instance
Spectral unit.
axes_names : str
Spectral axis name.
name : str
Name for this frame.
Methods Summary
coordinate_to_quantity
(*coords)Given a rich coordinate object return an astropy quantity object. coordinates
(*args)Create world coordinates object Methods Documentation