Data / tutorials / q18-step-count
Tutorial Q-18: Count steps from an accelerometer
Tutorial
Band-pass a chest accelerometer, count footstrikes with a minimum gap between peaks, turn them into a cadence, and check it against the spectrum and the known answer of a synthetic record.
Files for the tutorial Count steps from an accelerometer (https://apopt.com/course/tutorials/q18-step-count/). 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 | 324 B | Everything the tutorial prints, cell by cell | |
| raw/chest-acc-synthetic.csv | 96.5 KB | 4,750 rows | SYNTHETIC chest accelerometer, 50 samples a second, in g (t_s, vert_g along the body, fwd_g out of the chest); 30 s of running at 172 steps a minute, then lying still |
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/chest-acc-synthetic.csv
| t_s | vert_g | fwd_g |
|---|---|---|
| 0.0 | 0.8028 | 0.19219 |
| 0.02 | 0.9621 | 0.16549 |
| 0.04 | 1.2041 | 0.27145 |
| 0.06 | 0.9862 | 0.15167 |
| 0.08 | 0.9674 | 0.10089 |
| 0.1 | 0.7274 | 0.14869 |
| 0.12 | 0.9477 | -0.02397 |
| 0.14 | 0.9763 | 0.1713 |
First 8 of 4,750 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/q18-step-count/raw/chest-acc-synthetic.csv")const text = await (await fetch("https://apopt.com/data/tutorials/q18-step-count/raw/chest-acc-synthetic.csv")).text();Or download load.py / load.js.
How to cite
Tutorial Q-18: Count steps from an accelerometer. IRSRI Sports Research Institute, 2026. Data-Driven Athletics data repository. https://apopt.com/data/tutorials/q18-step-count/