TemporalFrame¶
-
class
gwcs.coordinate_frames.
TemporalFrame
(reference_frame, unit=None, axes_order=(0, ), axes_names=None, name=None, axis_physical_types=None)[source]¶ Bases:
gwcs.coordinate_frames.CoordinateFrame
A coordinate frame for time axes.
- Parameters
reference_frame :
Time
A Time object which holds the time scale and format. If data is provided, it is the time zero point. To not set a zero point for the frame initialize
reference_frame
with an empty list.unit : str or
Unit
Time unit.
axes_names : str
Time axis name.
axes_order : tuple or int
A dimension in the data that corresponds to this axis.
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