gpsproperty_with_gmst

class igwn_ligolw.lsctables.gpsproperty_with_gmst(s_name, ns_name, gmst_name)

Bases: gpsproperty

Variant of the gpsproperty descriptor, adding support for a third “GMST” column. When assigning a time to the GPS-valued descriptor, after the pair of integer attributes are set to the encoded form of the GPS time, the value is retrieved and the GMST column is set to the Greenwhich mean sidereal time corresponding to that GPS time. Note that the conversion to sidereal time is performed after encoding the GPS time into the integer seconds and nanoseconds attributes, so the sidereal time will reflect any rounding that has occured as a result of that encoding. If the GPS time is set to None or +inf or -inf, the sidereal time is set to that value as well.