apopt.com

Data / tutorials / q30-ball-path

Tutorial Q-30: Track a ball and fit its path

Tutorial

Detect a tossed tennis ball in every frame, fit a line to its horizontal path and a parabola to its height, and use gravity to check the clip's clock.

Files for the tutorial Track a ball and fit its path (https://apopt.com/course/tutorials/q30-ball-path/). 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
clean/tennis1_ball.csv1.7 KB50 rowsCleaned copy written by the tutorial
expected/printed-output.txt412 BEverything the tutorial prints, cell by cell

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 clean/tennis1_ball.csv

framexywhconf
16611.341300.9531.6734.820.13
20581.311233.736.8443.90.11
28531.19913.3520.4637.920.32
29530.64862.8826.144.410.22
30527.4815.3824.9840.610.58
31527.39815.4124.9940.650.58
32524.03770.5723.4731.580.63
33523.58726.0325.9434.420.15

First 8 of 50 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/q30-ball-path/clean/tennis1_ball.csv")
const text = await (await fetch("https://apopt.com/data/tutorials/q30-ball-path/clean/tennis1_ball.csv")).text();

Or download load.py / load.js.

How to cite

Tutorial Q-30: Track a ball and fit its path. IRSRI Sports Research Institute, 2026. Data-Driven Athletics data repository. https://apopt.com/data/tutorials/q30-ball-path/