Outputs
A run writes an output/ directory containing:
One folder per participant, holding a
plotsdirectory with the PDF report and its component figures, and aprocessed_datadirectory with the detailed CSVs.Top-level files: an aggregated
df_info_summary.csv.gzplus dataset-wide summary plots.
Every row of df_info_summary.csv.gz records model_file and model_sha256,
identifying exactly which detector produced those results. A filename is a
naming convention; a hash is a verifiable claim. Recordings that failed get
failed = 1 and a failure_reason explaining why.
Tip
This page explains the structure and the columns most people need. For every column, with its type and units, see the Data dictionary.
*_df_qc.csv.gz - one row per 10-second segment
The index is seconds from the start of the recording, so row 0 covers
00:00:00-00:00:10, row 10 the next segment, and so on.
Column group |
Meaning |
|---|---|
|
Per-segment screening: was the device worn, was the signal saturated, did it pass basic signal checks |
|
Whether the segment’s heartbeats were good enough to trust |
|
Beat-level measurements |
|
The measured value, blank wherever QC failed |
|
The gap-filled value. Use these for analysis |
|
|
Why are the beat columns so often blank?
They are only computed for segments that were actually analysed. A segment is
skipped when the device was not worn, when the signal was too noisy or clipped
to pass initial checks, or when the detector found fewer than n_beats_min
beats. Separately, RRm_raw is deliberately blanked wherever passed_finalQC
is False.
So a blank means “not measurable here”, not “data went missing”. Lots of blanks means a lot of non-wear time or poor signal quality, and is expected rather than a bug.
To judge quality fairly, use prop_ECG_worn_passed_finalQC in the summary
file. It measures quality among worn time only, so it is not diluted by
periods when the device was off.
df_info_summary.csv.gz - one row per recording
The dataset-level file. Alongside the model provenance and failure columns above, it holds the per-participant summary metrics: resting, minimum, maximum and mean heart rate, median daily RMSSD and its log-normalised form, hours spent at each activity intensity, wear time, and the proportion of ECG passing quality control.
Plots
Written to each participant’s plots folder during processing:
File |
Contents |
|---|---|
|
Two-page summary report |
|
Typical 24-hour heart rate rhythm, for recordings over three days with all 24 hours covered |
|
Share of time at each activity intensity |
|
Distribution of heart rate |
|
Activity intensity per day |
|
Example failing traces, written only when the pass rate falls below |
cardiac-prep inspect adds *_daily_heart_rate.png, *_hr_heatmap.png and
*_acc_heatmap.png on demand, reading the saved CSVs rather than reprocessing.