Skip to content

PPG sawtooth tooth

One label per tooth of the plethysmogram's frame sawtooth: its slope and phase, the correction applied, and the sync error left.

Name in the dataset ppg_sawtooth
Type event
Stored in ppg_sawtooth_labels.csv (label family ppg_sawtooth)

What it measures

The ECG-to-PPG delay's sawtooth over one tooth, from one frame slip to the next (The PPG sawtooth and its correction), and the timing error left in the plethysmogram once it is corrected.

Description

Each label runs from one slip to the next, or to the start or end of the analysed stretch, and carries the tooth's parameters, the applied correction (so a downstream method can undo it), each fiducial's error model, a tier and whether it is usable for pulse arrival time. Labelled so far in 265 recordings, over the first 90 minutes of each analysed stretch; one more of the 266 has too few matched beats for the whole-release slip fit and is not labelled.

Derived from

Computed from the variables below. Computed from: the input's stored data, so its time and value errors reach this one. Same source as: both come from one signal inside a device, and this one was not computed from the stored input.

Input Relation Tracks Timing form used Note
ECG lead II (SNUADC) computed from all raw stamps, step mode R peaks, interpolated: the ECG fiducial. Raw stamps in either SNUADC mode; the step-mode form, with the larger error, is named.
Plethysmogram (SNUADC) computed from all raw stamps, step mode Pulse feet (intersecting tangent of the 0.5-10 Hz band-passed waveform): the PPG fiducial. Raw stamps in either SNUADC mode; the step-mode form, with the larger error, is named.
Arterial pressure (SNUADC) computed from all raw stamps, step mode Arterial upstrokes, where available, confirm slips (the reference). Raw stamps in either SNUADC mode; the step-mode form, with the larger error, is named.

How it is derived

Algorithm. physiosync's rebuilt correction (fit_ecg_ppg_delay, method rebuilt) of the beat-to-beat ECG-to-PPG delay, from the whole-release slip fit (slips confirmed, or placed within an interval; each tooth creeps one frame between its slips); the sync error left in each tooth is summarised by drawing from the tooth's error model.

Version. 0.0.2

Code.

Propagation

Uncertainty: from the study that measured it (The PPG sawtooth and its correction, The rebuilt PPG slip finder and its correction). Each label carries its own sync error: mean, SD and 95th percentile.

From its inputs' timing: its support is at least 0 ms long; an input arrives up to 935 ms after its own interval ends, so this value cannot exist before then (the availability rule).

Measurement space

Time side (at the end of the recording (its availability time)): after the correction, the interval a value describes ends at the corrected time, give or take 0 ms (1 SD), and is 9.8 s – 90 min long.

Time

From UTC to the stored time stamp

Derived from this signal's timing table; a written chain is still to come.

The clock path first (UTC to the clock that stamps or spaces the samples), then the signal's own path to its stored time. Each bar: the size of the shift (bias) or interval the step introduces (pale) and the standard uncertainty left after the atlas's correction (solid), on a log scale; dashed when estimated or assumed.
The reference every chain starts from.
sync estimated bias 3 ms – 1 s · clock link, parameter
Vital Recorder takes the VitalDB server's time at each start and then runs on the PC's hardware timer, drifting about 13 ppm (median; up to about 57 ppm by setup) until the next start, which comes once it has run more than 5 h and is waiting for the next patient: about 0.23 s per 5 h at the median, about 1 s per 5 h at the fastest setup (H.-C. Lee, 9 November 2026). Not observable in the release: dates are shifted to 2100. No step of 0.5 s or more was found within a file.
Device
clock measured bias -3.82e+06 ms – -1.59e+05 ms → u 0 ms after correction
Delay or clock offset to the stamp; removed by the read the label once the recording has ended (available_at case_end).
Stored time stamp
window measured spans 9.8 s – 90 min
The interval one value or sample describes; its time is the interval's end.

Timing

Against the working reference. Each value describes an interval of time; its time is the interval's end. Bias: how late the stamp sits after that end (systematic within a recording; across the release, the spread of recordings). Uncertainty: one standard deviation of what is left.

Form Kind Bias Uncertainty (1 SD) Interval described Real time Clock domain Status Evidence
as stored: the tooth's interval, from its start ↯ as stored -3.82e+06 ms – -1.59e+05 ms, median -7.18e+05 ms 0 ms 9.8 s – 90 min yes Recorder PC stamps (values stamped on arrival) measured label_families.py: start and end columns
at the end of the recording (its availability time) (default) per recording 32.5 min – 7.3 h, median 3.8 h (held to the end of the recording); removes -3.82e+06 ms – -1.59e+05 ms 0 ms 9.8 s – 90 min no Recorder PC stamps (values stamped on arrival) measured label_families.py: available_at case_end; the rate and offset priors also pool other recordings of the same setup

↯ Look-ahead: the stamp can come before the end of the interval the value describes (D10); see the form's evidence.

Uncertainty budget, as stored: the tooth's interval, from its start (combined 0 ms):

Component Type Distribution Standard uncertainty Shared by Evidence
label ends B unknown 0 ms recording the ends are the file's own stamps, copied exactly

Uncertainty budget, at the end of the recording (its availability time) (combined 0 ms):

Component Type Distribution Standard uncertainty Shared by Evidence
label ends B unknown 0 ms recording the ends are the file's own stamps, copied exactly

Combine it with other signals in the synchronisation planner.

Value

Model kind per-tooth fit
Status measured
Studies The PPG sawtooth and its correction

Derived from

Computed from ECG lead II (SNUADC) and Plethysmogram (SNUADC) and Arterial pressure (SNUADC).

Instrument and method

The sync error SD in these labels, median per tier: A 1.9 ms (749 teeth), B 3.6 ms (98), C 5.0 ms (14); U 9.6 ms (123) and I 9.6 ms (182), not corrected (a sawtooth of unknown phase); N (33) has no slip. For A, B and C these are the model's per-tier residuals from the injected benchmark of the detect fit, not measured for the rebuilt correction, whose end-to-end check is The rebuilt PPG slip finder and its correction. 880 of 1,199 teeth (A, B and N) are usable for pulse arrival time.