apopt.com

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

FileSizeRowsWhat it is
expected/printed-output.txt324 BEverything the tutorial prints, cell by cell
raw/chest-acc-synthetic.csv96.5 KB4,750 rowsSYNTHETIC 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_svert_gfwd_g
0.00.80280.19219
0.020.96210.16549
0.041.20410.27145
0.060.98620.15167
0.080.96740.10089
0.10.72740.14869
0.120.9477-0.02397
0.140.97630.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/