Skip to content

Phase-step detection

Fit a regular train before and after a candidate break and test for a step in its phase, accepting only steps without an intervening beat that could explain them.

Methods Clocks carried in the signal

Studies

Study Date Status Summary
The rebuilt PPG slip finder and its correction 2026-11-13 current Fourth of the sawtooth series (Finding and placing each PPG frame slip finds the slips, The PPG sawtooth's period, its phase jumps, and the reversed sawtooth their grid, Where the PPG sawtooth stops where it stops). The slip finder is rebuilt around one rule: correct a step only when the evidence that it is a frame slip is strong, because a wrong correction puts a false step into real physiology. It judges each candidate on the shape of the pulse and, where there is one, on the arterial line, and corrects only one-frame steps. Checked against 172 blinded manual labels, a review of 174 corrections and sawtooths injected into real recordings, it called no held-out slip-free event a slip and 98% of the corrections reviewed were judged right. Its correction was then tested end to end against the arterial line in 2,976 recordings, which showed the first version made a third of them worse; rebuilt so each tooth closes exactly, it brings finger PAT closer to arterial PAT than the earlier method (median spread 9.46 against 11.17 ms in sawtooth recordings, 13.95 uncorrected), though it leaves more recordings worse than uncorrected (7.3% against 2.9%). physiosync 0.3.2, fit_ecg_ppg_delay(method="rebuilt").
Where the PPG sawtooth stops 2026-11-13 current Third of the sawtooth series (Finding and placing each PPG frame slip, The PPG sawtooth's period, its phase jumps, and the reversed sawtooth), rebuilt on 2 November and run on the full release on 3 November. With the new slip detector and the slip grid, stretches of 1.5 teeth or more without a slip are fewer than first reported: 1,072 stretches, 469 hours, in 796 of 5,714 recordings. Most of those inside a recording are two teeth long, and where the slips on either side lie on one grid, the step the grid predicts is usually there, missed because a ramp or a disturbance coincided with it. Where the phase moves across a stretch, it moves by quarter teeth. Some stretches look flat; the frame clock keeps its rate and phase through them; and the 586 recordings without any one-frame step show no hidden sawtooth, though many drift slowly.
The PPG sawtooth's period, its phase jumps, and the reversed sawtooth 2026-11-13 current Second of the sawtooth series (Finding and placing each PPG frame slip finds the slips). Within a recording the slips fall on a grid of one tooth length, piecewise: the grid holds for long runs and then jumps. On all 5,714 recordings the jumps move the phase by a whole number of quarter teeth far more often than by chance (375 of 548 without a break in the signal, against 132; 79 of 146 across one, against 35), and sharp steps of a fraction of a frame in the PPG chain lock to quarter frames too: the slips appear to be made in units of a quarter frame, 1/120 s. Within a run the grid is not exact: slips scatter by about 2 s around it, mostly anchored to it. Two setups run the sawtooth backwards. Cuff inflations do not explain the jumps.
Finding and placing each PPG frame slip 2026-11-13 current First of a series characterising the ECG–PPG sawtooth in detail (with The PPG sawtooth and its correction as the overview, The PPG sawtooth's period, its phase jumps, and the reversed sawtooth and Where the PPG sawtooth stops next). A new detector tests every point of a series of three fiducials per pulse for a sharp, persistent step of exactly one frame, confirms it against arterial pressure, uses the grid of the other slips and the earlier fit's slips as priors, and places each slip between two fiducials. Built on a benchmark of 273 recordings and run on all 5,714 with ECG lead II and PLETH. On held-out injected ground truth in 219 recordings it finds 88% of slips (the earlier fit 89%) with 3 false slips (the earlier fit 38) and places them two and a half times as closely. It also finds slips that lose a frame instead of gaining one. A blinded manual labelling of 172 real events, weighted to the whole release, puts its precision at 0.95 against 0.72 for the earlier fit, and its recall at 0.88 against 0.94. The final slip finder and correction, built on this detector, are in The rebuilt PPG slip finder and its correction.
Paced ECG as an independent clock 2026-11-01 current Fixed-rate pacing gives a clock the recording chain cannot touch. Timing paced beats on three timelines shows that each SNUADC step-mode correction loses about 19 ms of signal, and that nothing else breaks the sample stream.
The PPG's 30 Hz frame clock 2026-10-10 current ECG and PPG fiducials resolve to one 2 ms sample, but PPG fiducials taken on raw samples lock to a hidden 33.3 ms frame grid. Scanning for it finds the oximeter's frame clock to about 1 ppm, a fixed fingerprint of each recording setup.
The PPG sawtooth and its correction 2026-10-10 current The ECG→PPG delay creeps at 18–52 ppm and jumps up by one 33.3 ms frame at each slip, every 11–31 minutes. First of the sawtooth series. Its first correction, a tooth-by-tooth fit (physiosync's detect method), was essentially exact where confident on injected test data; it has been replaced as the atlas default by the rebuilt correction of The rebuilt PPG slip finder and its correction, which brings finger PAT closer to arterial PAT, and is kept here as history.