apopt.com

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

FileSizeRowsWhat it is
expected/printed-output.txt352 BEverything the tutorial prints, cell by cell
raw/steptest_hr.csv13.8 KB1,030 rowssecond-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_shr_bpmphase
064rest
164rest
263rest
365rest
465rest
562rest
665rest
765rest

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/