Time Utilities (gwpy.time)#

GPS time conversion utilities.

The Time object from the astropy package is imported for user convenience, and a GPS time conversion function is provided.

All other time conversions can be easily completed using the Time object.

See also

Functions#

from_gps(gps)

Convert a GPS time into a datetime.datetime.

tconvert(-> ~datetime.datetime)

Convert GPS times to ISO-format date-times and vice-versa.

to_gps(t, *[, tzinfo])

Convert any input date/time into a LIGOTimeGPS.

Classes#

LIGOTimeGPS

::tagLIGOTimeGPS

LIGOTimeGPSLike(new)

Protocol for types that are implementations of LIGOTimeGPS.

Class Inheritance Diagram#

Inheritance diagram of lal.LIGOTimeGPS, gwpy.time._ligotimegps.LIGOTimeGPSLike