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_frameTime

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.

Methods Summary

coordinate_to_quantity(*coords)

Given a rich coordinate object return an astropy quantity object.

coordinates(*args)

Create world coordinates object

Methods Documentation

coordinate_to_quantity(*coords)[source]

Given a rich coordinate object return an astropy quantity object.

coordinates(*args)[source]

Create world coordinates object