Time¶
The time side of every variable: how far a recorded time can be from when the thing it describes happened. Each value describes an interval of time, and its time is the end of that interval, the moment it could first exist. Every stamp has a systematic error (bias): the clock that made it is offset, drifts and is corrected in jumps, and the value reaches its stamp late; the atlas corrects the bias where it can. What is left is the standard uncertainty, built from named parts: the correction's own error, drift not modelled, and the grid the stamp sits on (resolution).
The working reference¶
The working reference is SNUADC stamp-model time: the SNUADC sample clock, placed on the recorder PC's timeline by the stamp model (drift and corrections fitted, the signal lost at each correction added back). Every delay in the planner is measured against it. Its own error against the PC is a few milliseconds where the SNUADC's corrections are seen; in recordings that make no SNUADC correction it rests on the port's typical rate and drifts by 31 ppm between recordings (76 ms per hour, median), or 13 ppm (31 ms per hour) where the mains hum gives the recording its own rate (Long SNUADC recordings with no correction at all, The SNUADC rate from the mains hum, where the stamps cannot give it). The PC's error against UTC is assumed.
Shared errors¶
Some errors are common to several signals: one clock, one correction. Between two signals that share an error it cancels, so their times agree better than each alone suggests (GUM 5.2); the synchronisation planner takes this into account. Each variable's uncertainty budget says what shares each part; parts whose sharing is not known are taken as independent.
| Shared error | Timing forms that carry it |
|---|---|
| Primus breath matching | Airway pressure (Primus) (after breath matching), Capnogram (Primus) (after breath matching) |
| Primus clock | Airway pressure (Primus) (raw stamps shifted by the release median), Airway pressure (Primus) (raw stamps), Capnogram (Primus) (raw stamps shifted by the release median), Capnogram (Primus) (raw stamps) |
| SNUADC clock | Arterial pressure (SNUADC) (raw stamps, step mode), Arterial pressure (SNUADC) (raw stamps, frequent-correction mode), ECG lead II (SNUADC) (raw stamps, step mode), ECG lead II (SNUADC) (raw stamps, frequent-correction mode), Plethysmogram (SNUADC) (raw stamps, step mode), Plethysmogram (SNUADC) (raw stamps, frequent-correction mode) |
| SNUADC stamp model | Arterial pressure (SNUADC) (stamp-model time), Arterial pressure (SNUADC) (stamp-model time, SNUADC rate from the mains hum), ECG lead II (SNUADC) (stamp-model time), ECG lead II (SNUADC) (stamp-model time, SNUADC rate from the mains hum), Plethysmogram (SNUADC) (stamp-model time, shifted by the oximeter delay), Plethysmogram (SNUADC) (stamp-model time) |
Every clock's route to UTC passes through Recorder PC against UTC, documented. That shared link sets the absolute time of every record in the dataset alike, so it cancels whenever times are compared with each other, which is what synchronising variables needs. The table therefore follows each clock to the working reference instead; each clock's page also draws its full route to UTC.
Clocks¶
Every clock in the dataset, how it is linked to the working reference (a traceability chain: only as strong as its weakest link), and how many variables it stamps or spaces. Each clock's page lists its links to other clocks.
| Clock | Type | Route to the working reference | Variables |
|---|---|---|---|
| BIS clock | oscillator | 1 link, weakest measured | 2 |
| CardioQ clock | oscillator | 1 link, weakest measured | 1 |
| Hospital records clock | software | 2 links, weakest assumed | 44 |
| Mains grid | reference | 2 links, weakest measured | 0 |
| Monitor analogue output clock | oscillator | 1 link, weakest estimated | 0 |
| Pacemaker clock | oscillator | 1 link, weakest measured | 0 |
| Primus clock | oscillator | 2 links, weakest measured | 2 |
| Pulse oximeter frame clock | oscillator | 1 link, weakest measured | 0 |
| Recorder PC clock | software | 1 link, weakest measured | 20 |
| SNUADC sample clock | oscillator | the working reference | 3 |
| Solar8000 clock | unknown | 1 link, weakest measured | 0 |
| UTC | reference | — (outside the release) | 0 |
The links in the timing graph¶
| # | Link | Clock | Against | Drift | Corrected every | Correction size | Status |
|---|---|---|---|---|---|---|---|
| 1 | Recorder PC against the mains grid | Recorder PC clock | Mains grid | about −13 ppm (median; the PC runs slow); setups −57 to +7 ppm | — | — | measured |
| 2 | Recorder PC against UTC | Recorder PC clock | UTC | — | start of the recorder: once it has run more than 5 h and is waiting for the next patient, and at every PC restart (a rule in the recorder) | — | documented |
| 3 | Mains grid against UTC | Mains grid | UTC | — | — | — | assumed |
| 4 | Primus against the recorder PC | Primus clock | Recorder PC clock | +105 ppm | about 7,230 s (2.0 h; p90 7,277 s, p95 twice that) | -0.016 s (whole 16 ms samples either way; median −16 ms (one sample back), p10–p90 −144 to +144 ms) | measured |
| 5 | CardioQ against the recorder PC | CardioQ clock | Recorder PC clock | — | at most about 300 s; about 40 re-anchors per case | — | measured |
| 6 | CardioQ against SNUADC | CardioQ clock | SNUADC sample clock | — | — | 0.4–4.4 s (p5–p95); matched-beat MAD 0.24 s (24 cases) | measured |
| 7 | SNUADC (frequent-correction mode) against the recorder PC | SNUADC sample clock | Recorder PC clock | -0.954 ppm | — | +7 to +16 ms between recordings (median +11), about one an hour (median 1.1 per hour per recording) | measured |
| 7 | SNUADC (step mode) against the recorder PC | SNUADC sample clock | Recorder PC clock | -63 ppm | 2.08 h | about 0.500 s true (paced: 0.498–0.502 s); −0.480 s on the stamps | measured |
| 8 | BIS against the recorder PC | BIS clock | Recorder PC clock | +25 ppm | 8,192 s (2 h 16.5 min), ± 20 s in 95% of intervals | 0.2 s | measured |
| 9 | BIS against SNUADC | BIS clock | SNUADC sample clock | -85.5 ppm | — | — | measured |
| 10 | Hospital records clock against the recorder PC | Hospital records clock | Recorder PC clock | — | — | — | assumed |
| 11 | Oximeter frames against SNUADC | Pulse oximeter frame clock | SNUADC sample clock | +7 to +92 ppm by setup (medians over 42 PC keys); within 3 ppm of its setup's median in 89% of recordings | — | — | measured |
| 11 | PPG content against the oximeter frames (the sawtooth) | Pulse oximeter frame clock | SNUADC sample clock | 18–52 ppm by setup | — | 32.4 ms | measured |
| 12 | Monitor output clock against SNUADC | Monitor analogue output clock | SNUADC sample clock | −56 to −23 ppm (5th–95th percentile, 229 recordings; median −38) | — | — | estimated |
| 13 | Pacemaker against SNUADC | Pacemaker clock | SNUADC sample clock | — | — | — | measured |
| 14 | Solar8000 numerics against SNUADC | Solar8000 clock | SNUADC sample clock | 0 s/h median (p10–p90 about ±0.5 s/h; HR −0.6 to +0.5 s/h) | — | — | measured |
Synchronisation across the release¶
For every link a shared signal can check:
Every time stamp¶
Each kind of time stamp in the dataset, as stored: across, its bias, how far the stamp sits from the end of the interval its value describes, against the working reference (left of zero the stamp comes early); up, its standard uncertainty. The width of an ellipse is the spread of the bias between recordings. Corrected and shifted forms are in each variable's timing table and in the planner. Drawn from the atlas data each time the site is built, so it follows every update; the same data drives the synchronisation planner.
Plan a multi-variable analysis¶
The synchronisation planner takes the variables an analysis combines and reports how well their times line up, how we know, and what window sizes keep cross-modal features meaningful.
The devices that keep the clocks and produce the variables have pages of their own.