segmentproperty

class igwn_ligolw.lsctables.segmentproperty(start_name, stop_name)

Bases: object

Descriptor used internally to expose pairs of GPS-valued properties as segment-valued properties. A segment may be set to None, which is encoded by setting both GPS-valued properties to None. Likewise if both GPS-valued properties are set to None then the value reported by this descriptor is None, not (None, None).

See the documentation for gpsproperty for more information on the encodings it uses for special values and the limitations they create.