libtcspc.PQT2GenericEvent¶
- class libtcspc.PQT2GenericEvent[source]¶
Bases:
EventTypeRaw 32-bit FIFO record for PicoQuant T2 (Generic) format.
Format used by HydraHarp V2, MultiHarp, TimeHarp 260, and PicoHarp 330 devices. Typically appears upstream of
DecodePQT2Generic.Notes
The corresponding C++ event has a single field
std::array<std::byte, 4> bytesholding the raw record. Construct an instance from raw bytes (PQT2GenericEvent().value(bytes=b"....")) and read them back asinst.bytes(a 4-bytebytesobject).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::pqt2_generic_event
The underlying C++ event type.