# Tutorial Q-26: Cadence from a cycle length

Get a runner's cadence three ways from one ankle trace, and see why a median step at 30 frames per second can only give 164 or 180.

Address: https://apopt.com/data/tutorials/q26-cadence/  
License: CC BY 4.0  
Prepared: 2026-12-03

## Description

Files for the tutorial *Cadence from a cycle length* (https://apopt.com/course/tutorials/q26-cadence/). `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 | description |
|---|---|---|---|
| [expected/printed-output.txt](https://apopt.com/data/tutorials/q26-cadence/expected/printed-output.txt) | 323 B |  | Everything the tutorial prints, cell by cell |
| [raw/form1_ankles.csv](https://apopt.com/data/tutorials/q26-cadence/raw/form1_ankles.csv) | 24.9 KB | 464 rows | both ankles' image position and confidence in every frame of a treadmill run filmed from behind at 30 frames per second (464 rows) |

Large files are stated with their size. A `preview.md` in this folder shows the first rows of each table.

## Provenance

- Source: Data-Driven Athletics tutorials (IRSRI, 2027)
- Removed: nothing; inputs are synthetic, published course data, or the instructor's own
- Permission basis: Published with the course under CC BY 4.0
- Prepared with: dda/tutorials/build.py

## Used in

- Book: [Chapter 9: Gait and Cyclic Sports](https://apopt.com/book/ch09-gait/)
- Course: [Week 9 lesson](https://apopt.com/course/week/9/)
- Homework H18: [https://apopt.com/course/assess/h18/](https://apopt.com/course/assess/h18/)

## How to cite

Tutorial Q-26: Cadence from a cycle length. IRSRI Sports Research Institute, 2026. Data-Driven Athletics data repository. https://apopt.com/data/tutorials/q26-cadence/

## Load it

```python
import pandas as pd
df = pd.read_csv("https://apopt.com/data/tutorials/q26-cadence/raw/form1_ankles.csv")
```
