libtcspc.PQT2PicoHarp300Event

class libtcspc.PQT2PicoHarp300Event[source]

Bases: EventType

Raw 32-bit FIFO record for PicoQuant PicoHarp 300 T2 format.

Typically appears upstream of DecodePQT2PicoHarp300.

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 (PQT2PicoHarp300Event().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::pqt2_picoharp300_event

The underlying C++ event type.