TemporalFrame

class gwcs.coordinate_frames.TemporalFrame(reference_frame: Time, unit: Unit = Unit('s'), axes_order: tuple[int] = (0,), axes_names: tuple[str] | None = None, name: str | None = None, axis_physical_types: tuple[str | None] | None = None)[source]

Bases: 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.

Attributes Summary

reference_frame

Reference frame, used to convert to world coordinate objects.

world_axis_object_classes

The APE 14 object classes for this frame.

Attributes Documentation

reference_frame
world_axis_object_classes