Monitor numerics recomputed from the waveforms, as a check of their delays¶
The Solar8000's heart rate and pulse rate, recomputed from the ECG and the plethysmogram with the atlas's windows and fitted delays, against the monitor's own values: in 6,145 recordings both monitor numerics change about 1 s later than the delay convention predicts (HR 0.96 s, PLETH_HR 1.23 s), although the test recovers a lag of zero on synthetic data. Their mean delays may therefore be up to about 1 s longer than the timing forms state. The same work found that the comparison of pulse rate with heart rate read its lag at the edges of 2 s steps, which biased it upwards.
| Date | 2026-11-11 |
| Status | current |
| Methods | Delays and averaging windows |
| Devices | Solar8000 monitor, SNUADC |
| Variables | Solar8000 heart rate, Solar8000 pulse rate (PLETH_HR), ECG lead II (SNUADC), Plethysmogram (SNUADC) |
Background¶
Two routes place PLETH_HR's window: its own recomputation (How the Solar8000 computes its pulse rate) and the lag at which its changes line up with HR's (Pulse rate against heart rate, paired at the moment each describes). Once the wait for the recorder's poll was counted the same way in both (7 Nov), they disagreed by about 1 s, 0.75 s beyond the pulse-arrival time. This study finds where that came from, and tests the delay convention itself: a value stamped at t was computed at t - d - φ, φ uniform over the 2 s gap, so its mean delay is d plus half a gap.
Data¶
Every recording with ECG, plethysmogram, HR and PLETH_HR: 6,145 of 6,388 used (none failed). The first 4 hours of plethysmogram; HR delay labels of quality good (results/pat/numeric_delay_labels.csv, 1 Nov, 8-interval rule).
Method¶
- Both routes term by term on the same recordings, by HR delay group and by thirds of heart rate (
examples/pr_window_routes.py). - The comparison's lag reading, on synthetic data: HR and PLETH_HR simulated from one heartbeat series with known windows, delays, poll and pulse-arrival time, through the comparison's own scan and lag reading, with polls exactly 2 s apart and with the Solar8000's 1.999–2.001 s gaps (
examples/sim_pr_window_routes.py). - Each numeric against its recomputation: HR (the mean of the last 8 R–R intervals within 15% of their median, truncated) from the R peaks, and PLETH_HR (rmean of 10 pulse intervals, rounded) from the pulses, both on the SNUADC stamp-model times; each value placed at its last beat + its fitted delay + half the gap, and stamped at the monitor's own stamps. A correct window and delay give a lag of zero (
tools/numeric_recompute_lag.py, WSL, 41 min;$W/examples/numeric_recompute_lag_v4l/agg/summary.json(v4 rates and the HR delay labels of 11 Nov, recorded run; with the 1 Nov labels, numeric_recompute_lag_v4, identical to the 9 Nov v3 run), rerun 9 November with the stamp model's setup-rate fallbacks The stamp sawtooth model for SNUADC and BIS, which moved every lag by under 10 ms; v1 with port rates). - The same test on synthetic data with a known monitor, one that updates after every beat and one that updates on its own 2 s grid, the delay fitted as the atlas does (
examples/sim_recompute_lag.py).
Results¶
- The comparison's lag was read at step edges. HR and PLETH_HR are stamped together every 2 s, so their agreement against lag is a staircase. Read at exactly 2k s, a step's edge, the recorder's 1.999–2.001 s gaps give record k or k − 1 by chance: on synthetic data that overestimates the window centre by 0.2–0.36 s, and read at the steps' midpoints (2k + 1 s) it is unbiased. On the release the midpoint reading lowers the lag by about 0.5 s (Pulse rate against heart rate, paired at the moment each describes).
- The two routes, after that: the comparison centres PLETH_HR's window 9.5 s before its stamp, the derivation 8.9 s; 0.47–0.57 s apart (labels of 11 Nov), 0.2–0.3 s beyond the pulse-arrival time (0.27 s, by which the pulses follow the R peaks), more at fast heart rates.
- Both numerics change later than the convention predicts. Against their recomputations the monitor's HR lags by 0.96 s (95% interval 0.91–1.02 s) and PLETH_HR by 1.23 s (1.08–1.33 s); PLETH_HR's lag minus HR's is −0.20 s (−0.31 to −0.08 s), part of what separates the routes. HR's lag differs between its delay groups (1.43 s early, 0.46 s late) and PLETH_HR's does not (1.26 and 1.13 s).
- Not the test. On synthetic data the test reads a lag of +0.05 s (a monitor updating after every beat) and +0.03 s (on its own 2 s grid), so the release's 1 s is in the monitor. The synthetic runs also show the convention (fitted delay plus half the gap) about 0.35 s short of the true mean delay, even when the model's form is right.
- One time base. The plethysmogram's raw stamps and its stamp-model times agree at the pulses (median difference 0), and its fitted delay is 3.7 s on either.
| Parameter | Value | Status | From |
|---|---|---|---|
| Monitor HR behind its recomputation | 0.96 s (lag of best agreement of the monitor's HR behind HR recomputed from the R peaks at its label delay plus half the gap; 95% 0.91-1.02 s, 6,145 recordings (vitaldb-bench tools/numeric_recompute_lag.py (v4 rates and the HR delay labels of 11 Nov, recorded run; with the 1 Nov labels, numeric_recompute_lag_v4, identical to the 9 Nov v3 run); rerun 9 Nov with the stamp model's setup-rate fallbacks, v1 with port rates gave 0.96 s, 0.89-1.03).) | measured | Monitor numerics recomputed from the waveforms, as a check of their delays |
| PLETH_HR's recomputation lag minus HR's | −0.20 s (on the recordings with both; 95% -0.31 to -0.08 s (vitaldb-bench tools/numeric_recompute_lag.py (v4 rates and the HR delay labels of 11 Nov, recorded run; with the 1 Nov labels, numeric_recompute_lag_v4, identical to the 9 Nov v3 run); rerun 9 Nov with setup-rate fallbacks, v1 gave -0.19 s, -0.27 to -0.06).) | measured | Monitor numerics recomputed from the waveforms, as a check of their delays |
| Monitor PLETH_HR behind its recomputation | 1.23 s (lag of best agreement of the monitor's PLETH_HR behind PLETH_HR recomputed from the pulses at its fitted delay plus half the gap; 95% 1.08-1.33 s (vitaldb-bench tools/numeric_recompute_lag.py (v4 rates and the HR delay labels of 11 Nov, recorded run; with the 1 Nov labels, numeric_recompute_lag_v4, identical to the 9 Nov v3 run); rerun 9 Nov with setup-rate fallbacks, v1 with port rates gave 1.24 s).) | measured | Monitor numerics recomputed from the waveforms, as a check of their delays |
Discussion¶
Most of the gap between the two routes was a reading error in the comparison, now corrected; it also explains why the HR delay groups looked 0.3 s closer together in the pulse rate than in the HR delays. The larger finding is about the convention. Both monitor numerics change about 1 s later than their fitted delays plus half a gap predict, and the test itself is unbiased, so the polled numerics' mean delays in the atlas's timing forms may be short by up to about 1 s. The atlas keeps the forms as they are for v2 and states this beside them; changing them needs the same test for the arterial and Primus numerics and an explanation for HR's group difference.
Limitations¶
- The recomputations use our own R-peak and pulse detectors, not the monitor's.
- The monitor may process its numerics beyond the window (smoothing, holding), which value matching cannot see and timing of changes can; the test measures the effect, not its cause.
- Only HR and PLETH_HR are tested; the arterial, CVP and Primus numerics share the convention but not this check.
Open questions¶
- Are the polled numerics older than their timing forms say? (unexplained phenomenon). The monitor's HR and PLETH_HR change about 1 s later than their fitted delays plus half the poll gap predict, and synthetic data show the test is unbiased and the convention about 0.35 s short. If the monitor smooths or holds its numerics, every polled numeric's mean delay (HR, PLETH_HR, arterial and CVP numerics, Primus numerics) may be up to about 1 s longer than its form. Next steps are the same test for the other numerics and a model of the monitor's update.
- Why HR's lag differs between its delay groups (unexplained phenomenon). Against its recomputation, HR lags by 1.43 s in the early delay group and 0.46 s in the late one; PLETH_HR, which arrives in the same message, lags by about the same in both. A difference in the poll cannot do this; the group's delay labels, or a difference in the monitors behind the two groups, might.