apopt.comCBE 493R Data-Driven Athletics

Course / Tutorials / Week 3 / CS-3

Case study CS-3 · Week 3 · about 60 min · Core

Predict the arc of a jump

Predict a jump's center-of-mass parabola from its takeoff velocity, lay it over the tracked hips frame by frame, and use the fitted curvature to check the scale and the true capture rate of a slow-motion clip.

  1. 1Gather (used)
  2. 2Statistics (used)
  3. 3Visualize (used)
  4. 4Cleanse (used)
  5. 5Features (used)
  6. 6Balance
  7. 7Scale
  8. 8Split
  9. 9Deploy
  1. Ask (this week)
  2. Collect
  3. Check (this week)
  4. Interpret (this week)
  5. Coach (this week)
  6. Reassess

Every cell runs in this page; the first run downloads Python (about 30 s). Nothing you load leaves your browser. Helpful first: CS-1 How high did I jump?, Q-8 Speed from positions, and what noise does to it, Q-9 Fit a parabola to a flight and recover gravity.

The decision

The athlete from CS-1 jumped 16.5 cm by flight time. Should she work on takeoff speed or on her technique in the air? Physics predicts the whole flight from the takeoff velocity alone, so the gap between that prediction and the tracked hips says how much the posture in the air matters. The same arc also checks the clock and the scale CS-1 had to assume.

Predict first

By hand, before any code: a jump in the air for 0.367 s left the ground at what vertical speed, and how high above takeoff will its center of mass rise? Will the tracked hips rise more, less, or the same?

The raw data

Data dictionary
FieldMeaningUnitRangeMissing
frameframe number in the filecount0–189never
<joint>_x, <joint>_ykeypoint positionpixels from the top-left; y grows downward0–1080, 0–1920none in this file
<joint>_cmodel confidence in the keypoint0 to 10–1none
diff_prevmean absolute gray-level difference from the previous framegray levels0–5empty for frame 0

What is wrong with it for this purpose: the file's clock (30 frames per second) is not the camera's (120), and every sixth frame repeats the one before, so even the camera's clock is in doubt; the scale comes from a stature nobody measured; the camera is hand-held and behind the jumper, who comes closer to it in the air; and the hip midpoint is not the center of mass.

Step by step

Step 1 · Gather: the jump as a table

Once the feet leave the ground, nothing but gravity acts on the body, so its center of mass follows a parabola set entirely by the takeoff velocity (Section 3.4.4):

x(t) = x₀ + vₓ t, y(t) = y₀ + v_y t − ½ g t²

This study predicts that arc before looking at the track, lays it over the hip midpoint frame by frame, and explains the gap. The data are the pose table of the course's example jump from CS-1 (17 keypoints a frame, filmed at 120 frames per second, stored at 30) and CS-1's repeated-frame check. CS-1 found takeoff at frame 80 and landing at frame 124, and a scale of 859 pixels per meter from an assumed stature of 1.70 m.

PythonStep 1 · Open the tables and set the clock and the scale

Type a prediction to enable Run.

Show the expected result without running
scale 859 px/m; flight 44 frames = 0.367 s
 frame   x_m    y_m  repeat
    78 0.583 -1.149   False
    79 0.583 -1.149    True
    80 0.583 -1.144   False
    81 0.584 -1.122   False
    82 0.579 -1.101   False

Predict first: the takeoff velocity, two ways

From the clock. A body that leaves and lands at the same height rises for half the flight, so v_y = g t / 2. That needs no scale at all.

From the last frames before takeoff. Difference the hip positions around frame 80 (Section 3.2.1). That needs the scale, and differencing magnifies keypoint jitter (Section 3.2.4), so try several pairs of frames and see how much the answer moves.

PythonTakeoff speed from the clock and from the hips

Show the expected result without running
from the clock: v_y = 1.80 m/s -> apex 16.5 cm at 0.183 s, flight 0.367 s
frames 76-80: v_y = 2.16 m/s -> apex  23.8 cm, flight 0.440 s
frames 78-82: v_y = 1.44 m/s -> apex  10.5 cm, flight 0.293 s
frames 79-81: v_y = 1.64 m/s -> apex  13.8 cm, flight 0.335 s
frames 77-83: v_y = 2.30 m/s -> apex  26.9 cm, flight 0.469 s
sideways drift in the air: -0.04 m/s (the camera is behind the jumper)

The clock says 1.80 m/s straight up, an apex 16.5 cm above takeoff 0.183 s later. The hips give anything from 1.4 to 2.3 m/s depending on which frames you difference: four frames span only 33 ms, and a few pixels of jitter swing the answer by a fifth. The clock's estimate is the prediction to test. The sideways drift is small, so the arc is close to straight up.

Step 2 · Statistics: is the scale the same in the air?

A scale measured on standing frames assumes the jumper stays the same distance from the camera. Check it with the leg, hip to knee to ankle, whose length cannot change. Compare frames where the leg is straight: standing at the start, and the five frames around takeoff and around landing. (In between, the knees bend, and a bent leg seen from behind looks shorter.)

PythonStep 2 · Segment lengths standing and in flight

Type a prediction to enable Run.

Show the expected result without running
straight left leg: standing 698 px, at takeoff and landing 763 px (+9%); standing again at the end 689 px
frames in the air: 44; repeated frames among them: 7

The straight leg is 9% longer at takeoff and landing than standing, and back to its standing length at the end. Bones do not grow in flight: during the jump the jumper is closer to the camera, or the hand-held camera moved closer, so in the air every pixel stands for about 9% less distance than the standing scale says, and heights measured there come out about 9% too large. Seven of the 44 frames in the air are repeats.

Step 3 · Visualize: the prediction over the track

PythonStep 3 · Predicted arc, tracked hips, and the gap

Show the expected result without running
largest gap 5.9 cm at 0.167 s; gap at landing -0.4 cm
Top: hip height above its takeoff height in centimeters against time since takeoff, 0 to 0.37 s; the predicted parabola from the clock rises to 16.5 cm at 0.18 s, the tracked hip midpoint (dots, repeated frames hollow) rises above it to about 22 cm. Bottom: the gap, track minus prediction, grows from 0 to about 6 cm near the top and returns toward zero at landing.

The hips rise above the prediction, by up to about 6 cm near the top, and come back toward it at landing. Section 3.4.4 expects the opposite sign from posture: arms swung up or knees tucked lift the center of mass relative to the hips, so the hips should sag below the arc. A gap of this sign points at the measurement instead: a scale 9% too small in the air (Step 2) makes the hips' 22 cm read about 2 cm too high, and the stature behind the scale was never measured.

Step 4 · Cleanse: one rule before the fit

A repeated frame is a copy of the frame before it, not a new measurement, so it is left out of the fit (it is kept in the table and flagged, as in CS-1). Then fit a parabola to the flight and read its curvature as a "gravity", g_fit = −2c₂ (Q-9). Do it on two clocks: each file frame is 1/120 s, the reading CS-1 used; and only the distinct frames are 1/120 s apart, the reading in which the repeats were padding added to the recording, which made CS-1's jump 11.7 cm.

PythonStep 4 · Drop repeats from the fit, and fit the arc on two clocks

Type a prediction to enable Run.

Show the expected result without running
rule: repeated frames out of the fit -> 34 of 45 frames used
each file frame 1/120 s: g_fit  12.2 m/s², 1.24 x gravity
distinct frames 1/120 s: g_fit  17.7 m/s², 1.81 x gravity

Step 5 · Features: what the curvature says about the scale and the clock

Section 10.2 gives the rule for reading a fitted gravity: g_fit / g = (k / k_used) × (f_used / f)², where k and f are the true scale and frame rate and k_used, f_used the ones you assumed. Two readings of the clock and one known scale error can now be weighed against each other.

PythonStep 5 · The scale each clock would need

Show the expected result without running
each file frame 1/120 s: needs a scale +24% off; after the 9% flight correction, +14% remains
distinct frames 1/120 s: needs a scale +81% off; after the 9% flight correction, +65% remains
or, with the scale exactly right, the true rate would be 108 frames per second
takeoff speed 1.80 m/s: 10% faster would raise the jump to 19.9 cm

Read the two lines together. With each file frame as 1/120 s, the arc is 24% too steep; the flight-scale correction found in Step 2 explains 9 points of that, leaving 14% for a stature nobody measured and a hip point that is not the center of mass. With the repeats read as padding, the arc is 81% too steep, and no plausible scale error explains that. Put the other way: if the scale were exact, the file's frames would be 1/108 s apart, while the padding reading needs them 1/144 s apart; the data fall on the other side of 1/120 s. So the curvature supports the 1/120 s clock, and with it CS-1's 0.367 s flight and 16.5 cm jump. Gravity checked the clock.

What limits this jump? Not the shape of the flight: once the scale doubt is set aside, the hips follow the predicted arc to within a few centimeters. The takeoff speed is low, 1.80 m/s, and height goes with its square, so a 10% faster takeoff would give 19.9 cm.

Explore: takeoff speed and angle

Move the takeoff speed and angle in the viewer below and watch the apex, the flight time and the distance change. Set a vertical takeoff at 1.80 m/s to see this jump; then tilt it forward.

Model · the arc of a jump
Rise to the apex
0.350 m
Time to the apex
0.267 s
Flight time
0.534 s
Height from flight time, g t²/8
0.350 m
00.10.20.300.10.20.30.40.5landingapextime (s)height (m)
Move over the chart to read values.

The center of mass follows a parabola once the feet leave the ground; drag is ignored. A tracked hip midpoint departs from it when the arms swing or the legs tuck, because the hips are not the center of mass.

The horizontal jump

Tilt the takeoff forward and the arc becomes a standing long jump. Section 3.4.5 splits its distance into three parts: the lean at takeoff (the center of mass is already ahead of the toes), the flight, and the reach of the heels at landing. And the best angle is not 45°, because a jumper pushes much harder along than straight up, so takeoff speed falls as the angle rises. The cell uses the book's assumed numbers (lean 0.30 m, reach 0.45 m, a 0.35 m drop of the center of mass, 3.2 m/s at 30° falling by 1.7 m/s per radian); the slope is borrowed for illustration.

PythonA standing long jump, angle by angle

Show the expected result without running
best 21.6 deg: 2.12 m; at 45 deg: 1.79 m (33 cm less); lean + reach = 0.75 m
Jump distance in meters against takeoff angle from 5 to 60 degrees; the curve peaks at about 2.12 m near 22 degrees and falls to about 1.79 m at 45 degrees. The flight part alone is drawn dashed below it, 0.75 m lower everywhere.

The best angle is about 22°, far below 45°, and jumping at 45° would cost about a third of a meter. The top of the curve is flat: a few degrees either way cost a centimeter or two, while 10% more takeoff speed is worth far more. The same lesson as the vertical jump: speed at takeoff is the number to build.

How good is the number?

The prediction needs only the clock: 44 frames ± 2 give a takeoff speed of 1.80 ± 0.08 m/s. Takeoff speeds differenced from the hips spread from 1.4 to 2.3 m/s with the choice of frames, too noisy to use. The fitted curvature is 1.24 times gravity on the 1/120 s clock and 1.81 times on the padded clock; the 9% growth of the legs in the air explains part of the first and none of the second, so the 1/120 s clock is the one the data support. What is left, about 14%, is the unmeasured stature and the hips standing in for the center of mass. With one clip, one camera and no reference, none of these can be pinned down further.

Action card

Action card
Finding
Takeoff speed, not technique in the air, limits this jump.
Evidence
The flight follows the arc predicted from a 1.80 m/s takeoff to within the scale error; a 10% faster takeoff would raise the jump from 16.5 to 19.9 cm.
How sure
Moderate for the conclusion; the scale is uncertain by 10 to 20%, but the conclusion rests on the clock, which the arc's curvature confirms.
Action
Train the push (faster, fuller extension at takeoff) rather than the shape in the air; film the next test from the side, phone still, so the arc can be checked without a scale doubt.
Test again
Repeat the jump test in six weeks and compare takeoff speed (g t / 2) as well as height.

Track it

Add test=cmj, metric=takeoff_speed_mps, value=1.80, unit=m/s (from g t / 2, so no scale is needed) and metric=arc_gfit_mps2, value=12.2, unit=m/s2 as a check of the filming setup, with the same protocol_version as the CS-1 rows. A fitted gravity far from 9.8 flags the trial before its height goes into a trend.

Open your athlete record

With your own data

Run CS-1 on your own side-view clip to get the keypoint table and the repeat check, then put the two files in raw/ and change TAKEOFF, LANDING, FPS and the stature in the first cell.

Check the AI

Asked "what was the takeoff speed of the jump in this keypoint table?", an assistant answered:

> Using the hip midpoint at frames 76 and 80, v = Δy / Δt = 0.072 m / (4/120 s) = 2.16 m/s, so the > jumper left the ground at 2.16 m/s and rose v²/2g = 24 cm. The flight time of 0.367 s confirms it.

What is wrong with it?

The arithmetic is consistent, but the method is fragile and the last sentence is false. A difference over four frames swings from 1.4 to 2.3 m/s with the choice of frames. A flight of 0.367 s implies g t / 2 = 1.80 m/s and 16.5 cm, not 2.16 m/s and 24 cm, so the flight time contradicts the answer rather than confirming it.

Check yourself

  1. A jump's flight lasts 0.50 s. What was its vertical takeoff speed, in m/s?

    m/s

  2. The hips rise above the predicted arc. Why does that point at the measurement rather than technique?

  3. The fitted gravity is 0.76 m/s² on the file's 30-frame clock. What does that tell you?

  4. Why is the best takeoff angle for a standing long jump far below 45°?

0 of 4 answered · 0 right the first time

Challenge: The arc of your own jump, from the side

Film three countermovement jumps from the side, phone on a tripod at waist height, at the highest normal-speed frame rate your phone offers, with your stature measured. Run CS-1 for the keypoint tables, then this study on each jump.

  1. Predict each arc from the clock (v = g t / 2) before looking at the track.
  2. Lay each prediction over the hip midpoint and plot the gap for all three jumps on one chart.
  3. Check the scale in the air with the thigh and shank lengths, and fit the arc's gravity on the capture clock.
  4. Say whether the gap has the same shape in all three jumps (body) or changes (noise or tracking), and its sign.

Hand in

How it is judged

Hints

    The solution unlocks after you make an attempt. Comparing your own attempt with it is where the learning happens.

    The same method in another field

    Fitting a model whose constant is known in advance, and reading the fitted constant as a check on the instrument, is how engineers calibrate: a pendulum's period checks a timer, a known mass checks a load cell. The Data-Driven Engineering course's video data page turns frames into the same kind of table.

    Acknowledgements

    The keypoint tables come from the course's example clip, processed locally in CS-1; no pixels are published. The long-jump numbers are the book's assumed values (Chapter 3, Listing for Section 3.4.5).

    References

    Built 2026-11-30 with Python packages numpy 2.5.5, pandas 3.1.1, matplotlib 3.11.2. In the browser the same code runs on Pyodide, so the last digit can differ.