TemporalFrame¶
- class gwcs.coordinate_frames.TemporalFrame(reference_frame, unit=None, axes_order=(0,), axes_names=None, name=None, axis_physical_types=None)[source]¶
Bases:
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.- unitstr or
Unit
Time unit.
- axes_namesstr
Time axis name.
- axes_ordertuple or int
A dimension in the data that corresponds to this axis.
- namestr
Name for this frame.
- reference_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