# Tutorial CS-14: The arc of a shot or a throw

Track a ball frame by frame in two phone clips, find which one holds an arc, clean its clock, and measure a tennis toss's height, speed and angle with gravity and the ball's size as the only references.

Address: https://apopt.com/data/tutorials/cs14-throw-arc/  
License: CC BY 4.0  
Prepared: 2026-12-03

## Description

Files for the tutorial *The arc of a shot or a throw* (https://apopt.com/course/tutorials/cs14-throw-arc/). `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 |
|---|---|---|---|
| [clean/ball_hoops1.csv](https://apopt.com/data/tutorials/cs14-throw-arc/clean/ball_hoops1.csv) | 3.0 KB | 123 rows | Cleaned copy written by the tutorial |
| [clean/ball_tennis1.csv](https://apopt.com/data/tutorials/cs14-throw-arc/clean/ball_tennis1.csv) | 3.2 KB | 137 rows | Cleaned copy written by the tutorial |
| [clean/toss_clean.csv](https://apopt.com/data/tutorials/cs14-throw-arc/clean/toss_clean.csv) | 1.4 KB | 33 rows | Cleaned copy written by the tutorial |
| [expected/printed-output.txt](https://apopt.com/data/tutorials/cs14-throw-arc/expected/printed-output.txt) | 1.3 KB |  | Everything the tutorial prints, cell by cell |

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

## Columns

| column | unit | meaning |
|---|---|---|
| frame | count | frame number in the file from 0 |
| repeat | true/false | the picture is the same as the one before (mean change under 0.3 gray levels on a 108 × 192 copy) |
| x, y | pixels | center of the ball's box; y grows downward |
| w, h | pixels | width and height of the ball's box |
| conf | 0 to 1 | the detector's confidence for the ball |

## 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 10: Power, Skill and Precision](https://apopt.com/book/ch10-skill/)
- Course: [Week 10 lesson](https://apopt.com/course/week/10/)
- Homework P20: [https://apopt.com/course/assess/p20/](https://apopt.com/course/assess/p20/)
- Homework P21: [https://apopt.com/course/assess/p21/](https://apopt.com/course/assess/p21/)

## How to cite

Tutorial CS-14: The arc of a shot or a throw. IRSRI Sports Research Institute, 2026. Data-Driven Athletics data repository. https://apopt.com/data/tutorials/cs14-throw-arc/

## Load it

```python
import pandas as pd
df = pd.read_csv("https://apopt.com/data/tutorials/cs14-throw-arc/clean/ball_hoops1.csv")
```
