lal.gpstime Namespace Reference


def gps_time_now ()
 Get the current time in GPS seconds. More...
def utc_to_gps (utc_time)
 Convert the given datetime.datetime into a GPS time. More...
def gps_to_utc (gps)
 Convert a GPS time into a datetime.datetime More...
def utc_time_now ()
 Get the current date and time in UTC. More...
def str_to_gps (time_string=None)
 Converts a date/time string into a GPS time. More...
def gps_to_str (gps, form=None)
 onvert a LIGOTimeGPS time object into a string. More...
def tconvert (arg=None, form=None)
 Convert date/time strings to and from GPS times. More...


dictionary TIME_ZONES
 GPS_EPOCH = _datetime.datetime(1980, 1, 6, 0, 0, 0)
 LAL_GPS_MAX = _datetime.datetime(2048, 1, 24, 3, 13, 55)
def now = tconvert()
def now_utc = gps_to_str(now)

Variable Documentation

◆ now

def = tconvert()

Definition at line 231 of file

◆ now_utc

def lal.gpstime.now_utc = gps_to_str(now)

Definition at line 232 of file