apopt.comCBE 493R Data-Driven Athletics

Course / Tutorials / Week 3 / Q-9

Quick tutorial Q-9 · Week 3 · about 15 min · Core

Fit a parabola to a flight and recover gravity

Fit a parabola to the hip track of a real slow-motion jump, recover gravity on the camera's clock, and see it come out sixteen times too small on the file's clock.

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

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

The decision

You have a jump height from a slow-motion clip. Before you report it, check the clock and the scale it rests on, using the one number in a jump you know before you film it: gravity.

The raw data

Try it

Gravity is the one number you know before you film

In flight the center of mass follows a parabola, y = c₀ + c₁t + c₂t², with c₂ = −g/2 (Section 3.4.4). Fit that parabola to a tracked point and read off a "gravity", g_fit = −2c₂. You already know the answer, 9.81 m/s², so the fit checks the two things you supplied: the scale that turns pixels into meters and the frame rate that turns frame numbers into seconds (Section 10.2, "The arc as a check on scale and frame rate").

The file is the pose table of the course's example jump from CS-1 (filmed at 120 frames per second, stored at 30). Take the hip midpoint through the frames in the air, 82 to 122, leaving a couple of frames at each end where the feet are still near the ground.

PythonThe hip midpoint in the air, in meters

Type a prediction to enable Run.

Show the expected result without running
41 frames; the hips rise 17.9 cm and come back to 0.1 cm

Fit the parabola on both clocks

PythonTwo clocks, two gravities

Type a prediction to enable Run.

Show the expected result without running
time = frame /  30: g_fit =   0.75 m/s²,  takeoff speed 0.51 m/s
time = frame / 120: g_fit =  12.08 m/s²,  takeoff speed 2.02 m/s
ratio 16.0; at 120 fps the fit is 1.23 times true gravity

On the file's clock the jumper falls with a gravity of 0.75 m/s², sixteen times too small: every time is four times too long, and gravity divides by time squared. On the camera's clock the answer is 12.1 m/s², the right size but 23% too large. Section 10.2 says how to read that:

g_fit / g = (k / k_used) × (f_used / f)²

where k and f are the true scale and frame rate and k_used and f_used the ones you assumed. A factor of 1.23 is not a slow-motion error (those come in factors of 4, 16, 64). It points at the scale (a stature nobody measured, a hand-held camera), at the hips not being the center of mass, or at a frame rate a little below 120. CS-3 untangles them.

One chart

PythonThe hip track and its parabola

Show the expected result without running
residual sd 1.0 cm; implied frame rate if the scale is right: 108 fps
Hip height in centimeters against time in flight in seconds (at 120 frames per second), 41 points rising about 18 cm and falling back, with the fitted parabola drawn through them; the legend gives the fitted gravity, 12.1 m/s squared.

The points hug the parabola to within about a centimeter, so the fit itself is sound; it is the inputs that are in doubt. If the scale were exactly right, the gravity of 12.1 would mean a frame rate of 108, not 120. Neither the scale nor the posture is known well enough here to say which it is, but a factor of sixteen would have been impossible to miss.

For the athlete: "Before trusting any height from your slow-motion clip, we check that your flight follows gravity; at the file's frame rate it doesn't, at the camera's it nearly does."

With your own data

Use the keypoint table of your own jump (CS-1, Step 1), pick the frames in the air, and fit the parabola with your measured stature for the scale. A result within about 10% of 9.81 m/s² means your scale and frame rate are both plausible.

Check yourself

  1. A clip filmed at 240 frames per second is analyzed at its stored 30. How many times too small is the fitted gravity?

    times

  2. The fitted gravity is 12.1 m/s² on the camera's clock. Which is the least likely cause?

0 of 2 answered · 0 right the first time

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.