libtcspc.TimeReachedEvent¶
- class libtcspc.TimeReachedEvent(data_types=None)[source]¶
Bases:
EventTypeKeep-alive event indicating that the data source has reached a given time.
Serves two purposes: (a) propagating time progression when there are no detections to send (including marking the end of a measurement), and (b) preventing long gaps in
abstimethat would otherwise stall time-sensitive processors.- Parameters:
data_types (DataTypes or None) – Set of integer types parameterising the C++ event.
None(the default) usesDataTypesdefaults.
Notes
The corresponding C++ event has the field
abstime. The emission frequency of these events can be tuned on the C++ side withtcspc::regulate_time_reached().See also
- tcspc::time_reached_event
The underlying C++ event type.