Skip to content

Windowed cross-correlation

Cross-correlate two signals' envelopes in sliding windows (for example 10 minutes, stepped by 5) to follow an offset that changes over a recording, keeping only windows whose peak is clear.

Methods One event, two clocks

Studies

Study Date Status Summary
How the Primus AWP is stamped, and which breath the lag locks onto 2026-11-11 current The Primus airway-pressure stamps are an anchor plus a sample count; the anchor holds across the regular pauses and is reset, with an error of up to about ±2 s, at irregular gaps. Separately, about a quarter to a third of the stretches in the release-wide breath matching were measured a whole breath off, which inflated the apparent per-recording offset. Each stretch's breath is now set from pauses in ventilation or a rule, and the breath error that remains is stated on its own. Most of the AWP's lead over the breath is real on the recorder's timeline, bounded by the PC-stamped PIP numerics.
Shared bursts between the ECG and the EEG 2026-11-11 current Electrocautery and muscle bursts appear in both the SNUADC ECG and the BIS EEG. Cross-correlating their envelopes gives the offset between the two devices' stamps every 10 minutes: about −0.8 s, in a sawtooth that follows both clocks' corrections.
The Primus ventilator against SNUADC, by breaths 2026-11-11 current Each breath shows in the Primus airway pressure and, through the chest, in SNUADC's central venous pressure. Tracking that lag puts the Primus on the SNUADC timeline to about 55 ms over the whole release, with a line per stretch between its AWP pauses (49 ms in the pilot). At scale it measures the Primus drifting a median +105 ppm against the recorder PC between its AWP pauses, with steps at the pauses that do not reset it.
The stamp sawtooth model for SNUADC and BIS 2026-11-09 current Fitting each track's record stamps against its sample count as a drift with corrections (a sawtooth) puts SNUADC and BIS on one timeline without any artefact. Checked against shared bursts, the EEG–ECG timing error falls from about 790 ms on the recorded stamps to 33 ms with one constant per SNUADC mode in the pilot, and 40 ms over the whole release.
The Primus stamp step at each airway-pressure pause 2026-10-19 current Measured directly at 2,488 pauses in 1,021 recordings: where CO₂ carries on through the AWP pause (74%), the Primus stamps barely step (median 0 ms, p10–p90 −164 to +188 ms, close to the no-pause controls); where CO₂ stops too (26%), they step by up to seconds. No step undoes the drift built up since the last pause.
The SNUADC clock through the Solar8000 numerics, whole release 2026-10-19 current On the SNUADC's own sample count, the delay from the waveform to the PC-stamped Solar8000 heart rate and mean arterial pressure ramps at the SNUADC's drift against the PC, measured without its stamps or resets. In recordings with whole reset intervals it agrees with them from 6 h (median difference per recording +1.7 ppm, 333 recordings; +7.8 ppm over all 582, with the shorter ones biased). It is too noisy per recording, and in recordings under 6 h its rate is biased toward zero; from 6 h it is unbiased against the resets and joins the clock network as an edge (Closing loops in the timing graph).