libtcspc.DecodeBHSPC¶
- final class libtcspc.DecodeBHSPC(data_types=None)[source]¶
Bases:
NodeProcessor that decodes Becker & Hickl SPC FIFO records into libtcspc TCSPC events.
Decoder for SPC-130, 830, 140, 930, 150, 130EM, 150N (NX, NXX), 130EMN, 160 (X, PCIE), 180N (NX, NXX), and 130IN (INX, INXX). For SPC-160 and SPC-180N, the fast intensity counter is not decoded; the processor can still be used for these models if the counter value is not of interest.
- Parameters:
data_types (DataTypes or None) – Data type set specifying the
abstime,channel, anddifftimetypes of the emitted events. Defaults toDataTypes().
Notes
Events handled:
BHSPCEvent: decoded; for each input record, zero or more ofTimeReachedEvent,TimeCorrelatedDetectionEvent,MarkerEvent, andDataLostEventare emitted. AWarningEventis emitted when an invalid record is encountered.All other event types: rejected at graph build time.
End of input: pass through.
See also
- tcspc::decode_bh_spc()
The underlying C++ factory function.