libtcspc.SwabianTagEvent¶
- class libtcspc.SwabianTagEvent[source]¶
Bases:
EventTypeRaw 16-byte tag record from a Swabian Time Tagger.
Has the same memory layout as the
Tagstruct in the Swabian Time Tagger C++ API and the format used by the PythonCustomMeasurementclass. Typically appears upstream ofDecodeSwabianTags.Notes
The corresponding C++ event has a single field
std::array<std::byte, 16> bytesholding the raw record. Construct an instance from raw bytes (a 16-byteSwabianTagEvent().value(bytes=...)) and read them back asinst.bytes(a 16-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::swabian_tag_event
The underlying C++ event type.