Tutorial Q-15: One night's RMSSD
Tutorial
Apply an artifact rule to a night of chest-strap beat intervals, compute RMSSD in five-minute windows, and report the night as the median of its valid windows.
Files for the tutorial One night's RMSSD (https://apopt.com/course/tutorials/q15-rmssd/). raw/ holds the inputs as the device or app wrote them; clean/ holds the cleaned copies the tutorial writes; expected/ holds what a correct run prints and saves, so you can check your own run.
Files
| File | Size | Rows | What it is |
|---|---|---|---|
| expected/printed-output.txt | 420 B | Everything the tutorial prints, cell by cell | |
| raw/2026-06-28_2343_sleep_rr.csv | 276.1 KB | 17,082 rows | one night of the instructor's sleep, one row per beat (t_s seconds from the start, rr_ms the strap's beat interval, hr_bpm the strap's heart rate where reported) |
Every file has its own fixed address: copy a link and load it directly. preview.md shows the first rows of each table as text; datapackage.json lists columns, sizes and checksums.
Preview of raw/2026-06-28_2343_sleep_rr.csv
| t_s | rr_ms | hr_bpm |
|---|---|---|
| 0.945 | 1291 | |
| 2.174 | 1231 | |
| 3.495 | 1322 | |
| 4.747 | 1255 | |
| 5.938 | 1189 | |
| 7.152 | 1216 | |
| 8.343 | 1186 | |
| 9.441 | 1096 |
First 8 of 17,082 rows.
Where it came from
- Source: Data-Driven Athletics tutorials (IRSRI, 2027)
- Removed: nothing; inputs are synthetic, published course data, or the instructor's own
- Permission: Published with the course under CC BY 4.0
- Prepared with:
dda/tutorials/build.py
Load it
import pandas as pd
df = pd.read_csv("https://apopt.com/data/tutorials/q15-rmssd/raw/2026-06-28_2343_sleep_rr.csv")const text = await (await fetch("https://apopt.com/data/tutorials/q15-rmssd/raw/2026-06-28_2343_sleep_rr.csv")).text();Or download load.py / load.js.
How to cite
Tutorial Q-15: One night's RMSSD. IRSRI Sports Research Institute, 2026. Data-Driven Athletics data repository. https://apopt.com/data/tutorials/q15-rmssd/