Data / tutorials / q06-first-order
Tutorial Q-6: A first-order response: heart rate after a step
Tutorial
Cut the first stage out of a chest strap's step-test record, fit a first-order response with curve_fit, and read the time constant three ways.
Files for the tutorial A first-order response: heart rate after a step (https://apopt.com/course/tutorials/q06-first-order/). 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 | 352 B | Everything the tutorial prints, cell by cell | |
| raw/steptest_hr.csv | 13.8 KB | 1,030 rows | second-by-second heart rate through a three-stage step test and five minutes of recovery, with the phase of each second (synthetic) |
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/steptest_hr.csv
| time_s | hr_bpm | phase |
|---|---|---|
| 0 | 64 | rest |
| 1 | 64 | rest |
| 2 | 63 | rest |
| 3 | 65 | rest |
| 4 | 65 | rest |
| 5 | 62 | rest |
| 6 | 65 | rest |
| 7 | 65 | rest |
First 8 of 1,030 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/q06-first-order/raw/steptest_hr.csv")const text = await (await fetch("https://apopt.com/data/tutorials/q06-first-order/raw/steptest_hr.csv")).text();Or download load.py / load.js.
How to cite
Tutorial Q-6: A first-order response: heart rate after a step. IRSRI Sports Research Institute, 2026. Data-Driven Athletics data repository. https://apopt.com/data/tutorials/q06-first-order/