libtcspc.BulkCountsEvent¶
- class libtcspc.BulkCountsEvent(numeric_traits=None)[source]¶
Bases:
EventTypeEvent representing detection counts from a non-time-tagging counter.
Used for devices that emit counter values at some interval (often based on an internal or external clock signal) rather than tagging individual detections.
- Parameters:
numeric_traits (NumericTraits or None) – Set of integer types parameterising the C++ event.
None(the default) usesNumericTraitsdefaults.
Notes
The corresponding C++ event has fields
abstime,channel, andcount.A value is constructed by giving all fields, e.g.
BulkCountsEvent(nt).value(abstime=42, channel=1, count=10); read them back as attributes (inst.abstime).Constructing and inspecting individual event values from Python is intended for debugging and learning only and is extremely slow; production graphs process events in compiled C++ and exchange bulk data via buckets.
See also
- tcspc::bulk_counts_event
The underlying C++ event type.