Skip to main content

check_temporal_window

Function check_temporal_window 

Source
pub fn check_temporal_window(
    window: TemporalWindow,
    onset_ms: Option<u32>,
    complete_ms: Option<u32>,
    last_sample_ms: u32,
) -> TemporalGate
Expand description

Evaluate TTS/TTC against observed onset and completion times (ms since issue).

  • onset_ms — first frame where action trajectory is detectably underway (e.g. |Δyaw| > 0.15 × threshold). None if never started.
  • complete_ms — first frame where full action threshold is met. None if never.
  • last_sample_ms — last landmark sample time (for incomplete timelines).