Skip to main content
Lab timing is re-exported from torq and also available as torq.lab.

Core types

Timeline edge order: window_open → stimulus_on → mark → inject → stimulus_off → window_close.

Probe / mark

Lab handle .mark(name, *, when=None, payload=None) annotates a probed sensor/metric (records on .marks). Protocol.mark remains timeline-only.
No % for lab windows — use Window(..., rate=) or bind a clock / LabEngine.

Example