TemporalFrame¶
-
class
gwcs.coordinate_frames.
TemporalFrame
(axes_order=(0, ), reference_time=None, reference_frame=<class 'astropy.time.core.Time'>, unit=None, axes_names=None, name=None)[source]¶ Bases:
gwcs.coordinate_frames.CoordinateFrame
A coordinate frame for time axes.
Parameters: axes_order : tuple or int
A dimension in the input data that corresponds to this axis.
reference_frame :
object
The object to instantiate to represent the time coordinate. Defaults to
astropy.time.Time
. Use partial functions to customise theTime
instance.reference_time :
astropy.time.Time
orNone
Reference time, the time of the 0th coordinate. If none the values of the axis are assumed to be valid times.
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