# Tutorial Q-25: Find foot contacts in an ankle trace

Find each foot contact in a treadmill runner's ankle trace, first the naive way, then with the running app's three guards.

Address: https://apopt.com/data/tutorials/q25-foot-contacts/  
License: CC BY 4.0  
Prepared: 2026-12-03

## Description

Files for the tutorial *Find foot contacts in an ankle trace* (https://apopt.com/course/tutorials/q25-foot-contacts/). `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/q25-foot-contacts/expected/printed-output.txt) | 270 B |  | Everything the tutorial prints, cell by cell |
| [raw/form1_ankles.csv](https://apopt.com/data/tutorials/q25-foot-contacts/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-25: Find foot contacts in an ankle trace. IRSRI Sports Research Institute, 2026. Data-Driven Athletics data repository. https://apopt.com/data/tutorials/q25-foot-contacts/

## Load it

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