libtcspc.PQT3GenericEvent

class libtcspc.PQT3GenericEvent[source]

Bases: EventType

Raw 32-bit FIFO record for PicoQuant T3 (Generic) format.

Format used by HydraHarp V2, MultiHarp, TimeHarp 260, and PicoHarp 330 devices. Typically appears upstream of DecodePQT3Generic.

Notes

The corresponding C++ event has a single field std::array<std::byte, 4> bytes holding the raw record. Construct an instance from raw bytes (PQT3GenericEvent().value(bytes=b"....")) and read them back as inst.bytes (a 4-byte bytes object).

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::pqt3_generic_event

The underlying C++ event type.