subject large_stringclasses 33
values | recording large_stringclasses 33
values | start_s float64 0 450 | hr_bpm float32 31.6 125 | periodicity float32 0.35 0.98 | signal list |
|---|---|---|---|---|---|
01 | 01 | 0 | 93.800003 | 0.937 | [
0.306640625,
0.247802734375,
0.1907958984375,
0.136474609375,
0.08624267578125,
0.04046630859375,
-0.0007119178771972656,
-0.037689208984375,
-0.07110595703125,
-0.10162353515625,
-0.129638671875,
-0.1551513671875,
-0.177978515625,
-0.197998046875,
-0.21484375,
-0.2286376953125,
-0.2... |
01 | 01 | 30 | 91.5 | 0.897 | [
-0.31201171875,
-0.371337890625,
-0.423095703125,
-0.467041015625,
-0.50244140625,
-0.52978515625,
-0.54931640625,
-0.56298828125,
-0.57080078125,
-0.57421875,
-0.5732421875,
-0.56982421875,
-0.56396484375,
-0.556640625,
-0.5498046875,
-0.54296875,
-0.53759765625,
-0.53369140625,
... |
01 | 01 | 60 | 91.5 | 0.96 | [
1.3759765625,
1.2724609375,
1.1591796875,
1.04296875,
0.9267578125,
0.81640625,
0.7158203125,
0.62744140625,
0.552734375,
0.492431640625,
0.4443359375,
0.40625,
0.375244140625,
0.34814453125,
0.322509765625,
0.29638671875,
0.268310546875,
0.23779296875,
0.2052001953125,
0.17102... |
01 | 01 | 90 | 92.599998 | 0.713 | [-2.087890625,-2.1171875,-2.150390625,-2.1953125,-2.255859375,-2.33984375,-2.44921875,-2.578125,-2.7(...TRUNCATED) |
01 | 01 | 120 | 91.5 | 0.932 | [-0.3525390625,-0.344970703125,-0.34130859375,-0.342529296875,-0.348876953125,-0.36083984375,-0.3779(...TRUNCATED) |
01 | 01 | 150 | 91.5 | 0.958 | [0.6728515625,0.57373046875,0.490478515625,0.422119140625,0.366943359375,0.32177734375,0.28271484375(...TRUNCATED) |
01 | 01 | 180 | 90.400002 | 0.907 | [0.418212890625,0.67724609375,0.9326171875,1.1748046875,1.39453125,1.5869140625,1.7470703125,1.87304(...TRUNCATED) |
01 | 01 | 210 | 91.5 | 0.959 | [-0.25146484375,-0.274658203125,-0.29443359375,-0.3125,-0.329833984375,-0.347900390625,-0.3666992187(...TRUNCATED) |
01 | 01 | 240 | 91.5 | 0.951 | [1.0205078125,1.2783203125,1.515625,1.7265625,1.904296875,2.044921875,2.150390625,2.220703125,2.2558(...TRUNCATED) |
01 | 01 | 270 | 91.5 | 0.953 | [-0.6064453125,-0.60986328125,-0.61083984375,-0.609375,-0.60693359375,-0.6044921875,-0.60205078125,-(...TRUNCATED) |
PPG windows
Finger and wrist photoplethysmography (PPG) cut into quality-checked 30-second windows at 25 and 125 Hz, ready to train on, with each person's age, sex and, for VitalDB, outcome flags. It is the training data of kron-ppg, a streaming KronLSTM PPG model whose first task is an age clock, published so others can skip downloading about 18 GB of raw tracks and preparing them. 25 Hz is the rate of phones and watches (and kron-ppg); 125 Hz is the rate of MIMIC/PhysioNet finger PPG and of models such as PaPaGei. A source is never upsampled: GalaxyPPG, recorded at 25 Hz, has only 25 Hz.
| config | windows | people | train / validation / test people |
|---|---|---|---|
vitaldb_25hz |
1,195,506 | 5,887 | 4,071 / 912 / 897 |
vitaldb_125hz |
1,195,923 | 5,887 | 4,071 / 912 / 897 |
bidmc_25hz |
820 | 53 | 33 / 14 / 6 |
bidmc_125hz |
821 | 53 | 33 / 14 / 6 |
galaxyppg_25hz |
1,847 | 24 | 15 / 5 / 3 |
Each source also has a <source>_subjects config: one row per person, with the same split column.
Columns
Windows (<source>_<rate>hz configs):
| column | type | meaning |
|---|---|---|
subject |
string | the person, as the source names them (VitalDB subjectid) |
recording |
string | the recording the window was cut from (VitalDB caseid) |
start_s |
float64 | where the window starts in its recording, seconds |
hr_bpm |
float32 | heart rate estimated from the window's autocorrelation |
periodicity |
float32 | the autocorrelation at that beat period (the quality gate keeps >= 0.35) |
signal |
float16[30 x rate] | the window, robust-scaled (median 0, IQR/1.349 = 1): 750 samples at 25 Hz, 3750 samples at 125 Hz |
vitaldb_25hz, vitaldb_125hz also carry the vitals measured over each window, read from VitalDB's other tracks
(monitor numerics and ECG lead II, 500 Hz), joined on (recording, start_s) from the 25 Hz windows. A
value is null where its track is missing, out of a plausible range, or (ECG, pulse arrival time) too few
clean beats were found; a window with no 25 Hz twin has none. Windows with at least one vital: vitaldb_25hz 100%, vitaldb_125hz 96%.
| column | type | meaning |
|---|---|---|
hr |
float64 | monitor heart rate, bpm (median over the window) |
spo2 |
float64 | monitor oxygen saturation, % |
bt |
float64 | body (core) temperature, degC |
nibp_sbp |
float64 | cuff systolic pressure, mmHg (a reading is held until the next, every few minutes) |
nibp_dbp |
float64 | cuff diastolic pressure, mmHg |
nibp_mbp |
float64 | cuff mean pressure, mmHg |
art_sbp |
float64 | arterial-line systolic pressure, mmHg (beat by beat; about half the cases) |
art_dbp |
float64 | arterial-line diastolic pressure, mmHg |
art_mbp |
float64 | arterial-line mean pressure, mmHg |
sbp |
float64 | systolic pressure: the arterial line's where there is one, else the cuff's |
dbp |
float64 | diastolic pressure, chosen the same way |
ecg_hr |
float64 | heart rate from ECG lead II R peaks, bpm |
rr_ms |
float64 | median R-R interval, ms |
sdnn_ms |
float64 | SDNN over the window's R-R intervals, ms |
rmssd_ms |
float64 | RMSSD over the window's R-R intervals, ms |
pat_ms |
float64 | pulse arrival time: R peak to the steepest PLETH upstroke before the next beat, ms (median). VitalDB's PLETH lags its ECG by a device delay, so values run 0.6-0.8 s: compare within a person and monitor, not with published PATs |
beats |
float64 | clean beats the ECG features rest on |
bp_source |
string | art, nibp, or empty: where sbp/dbp came from |
Subjects (<source>_subjects configs): subject, age (years, null when unknown), sex, the source's
other per-person fields, and split. VitalDB adds caseid, asa, preop_htn, preop_dm,
death_inhosp, department, optype, emop and bmi from its case table.
How the windows were made (changes to the sources)
For each recording, at each rate: fill gaps of up to 0.5 s; band-pass 0.5-8 Hz (4th-order Butterworth,
zero phase); resample to the rate (polyphase); cut 30 s windows without overlap; scale each window
robustly. A window is kept when it is finite, not flat, not clipped and its autocorrelation at a heart rate
of 30-200 bpm is at least 0.35. At most
240 windows are kept per recording, spread evenly over it, so a
three-hour surgery does not outweigh an eight-minute ICU record. Each rate is gated on its own, so the
window sets of two rates overlap closely but not exactly; join them on (recording, start_s).
The split is by person, from a hash of <source>/<subject>, so a person's windows are never on two
sides, every rate has the same split, and the split does not move when people are added.
Loading
import polars as pl
train = pl.read_parquet("hf://datasets/GlucoseDao/ppg-windows/vitaldb/25hz/train-*.parquet")
x = train["signal"].to_numpy() # (n, 750) float16
or datasets.load_dataset("GlucoseDao/ppg-windows", "vitaldb_25hz", split="train").
What it is not
Age from PPG is a calendar-age regression target. A predicted age, or the gap between it and the real age, is not a biological age or a diagnosis. VitalDB people were having surgery and BIDMC people were in intensive care, so neither is a healthy population.
Sources, licences and credit
vitaldb (CC BY 4.0, https://creativecommons.org/licenses/by/4.0/)
VitalDB: finger PPG (SNUADC/PLETH, 500 Hz) recorded during surgery at Seoul National University Hospital, with age, sex, ASA class, preop_htn, preop_dm, death_inhosp, department, operation type, emergency flag and BMI per case. One case per person (the first by case id, of those with a PLETH track and an age). From the VitalDB open API (https://vitaldb.net/dataset/), the same data as https://physionet.org/content/vitaldb/1.0.0/.
Credit to VitalDB is required (citation above). The vitaldb.net data use agreement also asks users not to attempt to identify any person from the data.
Lee HC, Park Y, Yoon SB, Yang SM, Park D, Jung CW. VitalDB, a high-fidelity multi-parameter vital signs database in surgical patients. Sci Data. 2022;9(1):279. doi:10.1038/s41597-022-01411-5. Data: Lee HC, Jung CW. VitalDB (version 1.0.0). PhysioNet. doi:10.13026/czw8-9p62.
bidmc (ODC-By 1.0, https://opendatacommons.org/licenses/by/1-0/)
BIDMC PPG and Respiration: 53 eight-minute ICU recordings of finger PPG at 125 Hz with age and sex, from the MIMIC-II matched waveform database. Age 90+ is stored as 90 with age_censored = 1. From https://physionet.org/content/bidmc/1.0.0/.
Contains information from the BIDMC PPG and Respiration Dataset, which is made available under the ODC Attribution License.
Pimentel MAF et al. Toward a robust estimation of respiratory rate from pulse oximeters. IEEE Trans Biomed Eng. 2017;64(8):1914-1923. doi:10.1109/TBME.2016.2613124. Goldberger AL et al. PhysioBank, PhysioToolkit, and PhysioNet. Circulation. 2000;101(23):e215-e220.
galaxyppg (CC BY 4.0, https://creativecommons.org/licenses/by/4.0/)
GalaxyPPG: Samsung Galaxy Watch5 green PPG at 25 Hz from 24 people aged 20-29, worn through a protocol of rest and activity. The watch's signal is inverted so the systolic peak points up, as on a finger sensor. From https://zenodo.org/records/14635823.
Credit to the GalaxyPPG authors is required (citation above).
Park, Zheng & Lee (2025). GalaxyPPG: a multi-device PPG dataset [data set]. Zenodo. doi:10.5281/zenodo.14635823.
This dataset adds no terms of its own: each source's rows are under that source's licence, with the changes listed above.
- Downloads last month
- 143