apopt.comCBE 493R Data-Driven Athletics

Course / Tutorials / Week 10 / Q-28

Quick tutorial Q-28 · Week 10 · about 15 min · Foundation

Height from flight time, with one frame of error

Turn a hand count of airborne frames into a jump height, see what the wrong frame rate does, and carry one frame of error through at four frame rates.

  1. 1Gather
  2. 2Statistics
  3. 3Visualize
  4. 4Cleanse (used)
  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-23 Read a video frame by frame and save every tenth frame.

The decision

An athlete's countermovement jump went from 0.165 m last week to 0.18 m today. Before calling it progress, find out how much one frame of timing moves the number at the frame rate you filmed at.

The raw data

Try it

Once the feet leave the ground the body is a projectile. If it lands in the same position it took off in, the rise and the fall each take half the flight time t, so the center of mass rises

h = g t² / 8, with g = 9.80665 m/s² (the value the jump app uses).

The raw file is a hand count from Chapter 1: someone stepped through the course's clip jump2_120fps.mp4, a jump filmed in slow motion at 120 frames per second and stored at 30, and wrote down the frame where the shoes first cleared the grass and the frame where the first shoe came back.

PythonFlight and height from a frame count, at the right and the wrong rate

Type a prediction to enable Run.

Show the expected result without running
capture rate 120 fps: 44 frames = 0.367 s -> h = 0.165 m
stored rate 30 fps: 44 frames = 1.467 s -> h = 2.637 m

At the capture rate the flight is 0.367 s and the jump 0.165 m. At the stored rate the same count gives 1.467 s and 2.637 m, an impossible jump: the jump app refuses any flight over 1.1 s or height over 1.5 m (jump/src/lib/metrics.ts) and asks you to check the rate. Always divide by the rate the camera filmed at.

One frame either way

An event between two frames can only be placed on one of them, so a flight time is uncertain by about one frame. Height grows with the square of time, so the height moves by more than the time does, in percent.

PythonOne frame of error at four frame rates

Show the expected result without running
flight 0.367 s, height 0.165 m
 fps  frames in flight  h one short (m)  h one long (m)  span (cm)  span (% of h)
  30              11.0            0.136           0.196        6.0           36.4
  60              22.0            0.150           0.180        3.0           18.2
 120              44.0            0.157           0.172        1.5            9.1
 240              88.0            0.161           0.169        0.7            4.5
hand count +/- 2 frames at 120 fps: 0.150 to 0.180 m
PythonThe frame budget of this jump

Show the expected result without runningThe height of the 0.367 s jump at 30, 60, 120 and 240 frames per second, with bars from one frame short to one frame long; the bars halve in length each time the frame rate doubles.

At 120 frames per second, one frame either way spans 1.5 cm, 9.1% of this 0.165 m jump; at 30 it would span 6.0 cm, 36.4%. Each doubling of the frame rate halves the span. A short jump suffers more than a high one, because one frame is a bigger share of a short flight (Chapter 10's 0.50 s example spans 8.2 cm at 30 frames per second). The grass adds its own error here: two frames either way, 0.150 to 0.180 m. And Chapter 8 found that this file repeats every sixth frame, so the 44 frames may hold only about 37 distinct ones: check that frames are distinct before trusting any count.

For the athlete: this jump was 0.165 m, give or take a centimeter or two; film at the highest frame rate your phone offers, and tell the app the rate you filmed at.

With your own data

Film your own jump from the side at the highest frame rate your phone offers, step through it (Q-2), write down the takeoff and landing frames in the same two-column way, and run this page with your numbers. Use the rate the camera filmed at.

Check yourself

  1. A flight of 30 frames at 60 frames per second. What height does h = g t²/8 give?

    m

  2. The same count is divided by the stored rate, 30, instead of the capture rate, 120. By what factor is the height wrong?

0 of 2 answered · 0 right the first time

The same method in another field

Any quantity that goes with the square of a measured time, a fall height or a distance under constant acceleration, doubles the percent timing error. Carrying a measurement error through a formula is the same in a lab as here.

Acknowledgements

The hand count is Chapter 1's worked example on the course clip jump2_120fps.mp4.

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.