Data / tutorials / q19-interpolate-threshold
Tutorial Q-19: Interpolate a threshold from four points
Tutorial
Find where a step test's lactate curve crosses a level by straight-line interpolation, apply a fixed and an individual threshold rule, and check the arithmetic against a smooth fit.
Files for the tutorial Interpolate a threshold from four points (https://apopt.com/course/tutorials/q19-interpolate-threshold/). 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 | 488 B | Everything the tutorial prints, cell by cell | |
| raw/lactate_step_illustrative.csv | 96 B | 6 rows | ILLUSTRATIVE step test, not a real athlete: lactate and heart rate at six stages from 10 to 15 km/h (speed_kmh, lactate_mmol, hr_bpm) |
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/lactate_step_illustrative.csv
| speed_kmh | lactate_mmol | hr_bpm |
|---|---|---|
| 10 | 1.3 | 138 |
| 11 | 1.4 | 147 |
| 12 | 1.6 | 155 |
| 13 | 2.2 | 163 |
| 14 | 3.4 | 171 |
| 15 | 5.6 | 179 |
First 6 of 6 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/q19-interpolate-threshold/raw/lactate_step_illustrative.csv")const text = await (await fetch("https://apopt.com/data/tutorials/q19-interpolate-threshold/raw/lactate_step_illustrative.csv")).text();Or download load.py / load.js.
How to cite
Tutorial Q-19: Interpolate a threshold from four points. IRSRI Sports Research Institute, 2026. Data-Driven Athletics data repository. https://apopt.com/data/tutorials/q19-interpolate-threshold/