bpod_core.bpod.structs.RawSoftcode

class bpod_core.bpod.structs.RawSoftcode

Bases: NamedTuple

Raw softcode data from the Bpod device.

micros_us: int

Bpod session clock at the time of softcode firing (microseconds).

received_ns: int

time.perf_counter_ns() captured immediately after the serial read.

softcode: int

Zero-based softcode value.