apopt.com
Data-Driven Athletics cover. A runner is annotated with video and wearable callouts above a visual chapter guide.

A free textbook with browser apps · First edition, 2027

Data-Driven Athletics

Measuring, Modeling and Coaching Human Performance with Video and Wearable Data

Edited by John Hedengren · IRSRI Sports Research Institute

Every athlete now carries a camera and a set of sensors. This book teaches how to turn what they record into decisions. Work from raw video and wearable signals through checks and uncertainty to a recommendation an athlete can use.

Fourteen chapters, one a week, take a reader from the first question to a coaching decision. Each chapter is free to read here, to download, and to reuse under CC BY 4.0. The movement apps, the Heart app and the Watch dashboard the chapters use are free at apopt.com, and they run in the browser: videos and files stay on your own device.

Start reading Whole book PDF, 577 pages, 20.2 MB

Part I Foundations Chapters 1–4

Chapter 1 · 18 pages

Questions Before Dashboards

What do you want to decide, and what would you need to measure to decide it?

Learning objectives
  • State a performance question as a decision someone will make.
  • Tell a measured quantity from a derived one and a modeled one.
  • Define accuracy, precision, validity and reliability, with an example of each.
  • Make a first measurement two ways and compare them.
  • Describe the rules for handling another person's data.
  • Describe a working method for using an AI assistant.
Three ways to measure a jump
Wall tape has standing- and jump-reach marks. Below, a side-on frame strip emphasizes feet and floor. A separate plotted arc illustrates the app’s hip-rise estimate.
Standing reach comes from a flat-footed mark. Compare the reach difference with height derived from manually counted airborne frames and the app’s separate hip-rise estimate. Match takeoff and landing posture when using flight time. The equipment scene is a generated illustration. Print figure

Jump

Read PDF 2.0 MB Notebook + data 8 kB

Slides 1Slides 2 Chapter page Week 1 lesson Data

Chapter 2 · 32 pages

The Athlete as a System

Why can a runner hold one pace for an hour, and a pace only a little faster for barely ten minutes?

Learning objectives
  • Trace oxygen from the air to a working muscle, compute oxygen uptake with the Fick relation, and name what limits each step.
  • Describe the three energy systems by their power and capacity, and the durations each one dominates.
  • Explain maximal oxygen uptake, the lactate threshold and economy as the three numbers behind endurance performance.
  • Model heart rate and oxygen uptake after a step in work as first-order responses, and read a time constant from a recovery curve.
  • Explain load, fatigue, recovery and adaptation as a dynamic system, and say why the same plan gives different results in two people.
  • Fit heart rate against work rate as a linear regression, give the slope its units, read the residuals and compare the fit with a mean baseline.

JumpHeart

Read PDF 899 kB Notebook + data 20 kB

Slides 1Slides 2 Chapter page Week 2 lesson Data

Chapter 3 · 31 pages

Mechanics of Movement

How does a 70 kg athlete leave the ground, and what decides how high?

Learning objectives
  • Describe a movement with position, velocity, acceleration and joint angle, and compute them from samples.
  • Compute a joint angle from three points, by hand and in code.
  • Apply impulse and momentum to a jump, and projectile motion to a throw or a kick.
  • Explain a muscle and a joint as a lever, and why a tendon can pull with several times body weight.
  • Name the phases of the running stride and compute cadence, step length and duty factor.
  • State what a single camera can and cannot measure.

CanvasJump

Read PDF 895 kB Notebook + data 9 kB

Slides 1Slides 2 Chapter page Week 3 lesson Data

Chapter 4 · 37 pages

Athlete Data in Python

You wore a chest strap and a watch for the same interval session. The two files have gaps, a few impossible beats, and clocks that do not agree. What was your heart rate, second by second, and how do you know?

Learning objectives
  • Write a notebook someone else can run: restart and run all, stated versions, a fixed seed, and functions checked against known cases.
  • Load a table, a time series and a folder of app results files into pandas, and put every time stamp on one clock; describe each file in a data dictionary.
  • Find missing values, spikes, flat lines, duplicates and unit mix-ups with rules you wrote down before you looked; keep the raw file, and log every change.
  • Resample two devices onto one grid, find the offset between their clocks by cross-correlation, and join tables on a key with a check after every join.
  • Smooth a signal with a moving average, a median filter and a low-pass filter, and state the lag each one costs; explain why a derivative amplifies noise.
  • Describe a disagreement with a bias and limits of agreement, show a distribution, and draw a chart that makes one point without misleading.
  • Use an AI assistant to write the code, and a hand-computed answer to check it.

Jump

Read PDF 963 kB Notebook + data 130 kB

Slides 1Slides 2 Chapter page Week 4 lesson Data

Part II Wearable Sensors Chapters 5–7

Chapter 5 · 30 pages

Heart Rate, ECG and Heart Rate Variability

Two devices on the same runner disagree by 15 beats a minute in the middle of an interval session. Which one is right, and how would you know?

Learning objectives
  • Explain how a chest-strap ECG sensor and an optical sensor each detect a heartbeat, and why they fail in different ways.
  • Convert between RR interval and heart rate, and compute RMSSD, SDNN and pNN50 by hand for a short series.
  • Compare two devices with bias, mean absolute error, mean absolute percentage error and limits of agreement.
  • Describe how heart rate responds to the start of exercise, to steady work and to recovery, and fit a time constant to each.
  • Set heart-rate zones three ways and compute a training-load score.
  • Report a heart-rate finding to an athlete without overstating it.
Chest strap and wrist watch
A chest strap and watch are shown side by side. A separate schematic ECG marks the time from one R peak to the next.
A chest strap detects electrical activity through the skin-facing electrodes. Its transmitter sits at the center of the band. Name the signal and time reference before comparing it with the watch. The ECG sketch illustrates the RR interval. The equipment scene is a generated illustration. Print figure

Heart

Read PDF 1.3 MB Notebook + data 29 kB

Slides 1Slides 2 Chapter page Week 5 lesson Data

Chapter 6 · 31 pages

GPS Watches and Motion Sensors

The watch says 10.14 km. The course was measured at 10.00 km. Did the runner run farther, or did the watch?

Learning objectives
  • Explain how a satellite receiver finds its position and why one fix a second limits what pace can show.
  • Compute the distance between two fixes by hand, and explain why summed distance runs long when moving slowly and short on tight turns.
  • Read an activity file, resample it and clean it, and handle a zero-length time step by an explicit, tested rule.
  • Explain what an accelerometer measures and how cadence, contact time and vertical oscillation are derived from it.
  • Fit critical speed from two or three time trials as a linear regression, with the slope in units, the residuals and a mean baseline, and use it to set training paces.
  • Describe training load over weeks and give a coach a defensible summary.

RunningHeartWatch dashboard

Read PDF 951 kB Notebook + data 96 kB

Slides 1Slides 2 Chapter page Week 6 lesson Data

Chapter 7 · 28 pages

Glucose, Lactate and Emerging Sensors

A marathon runner's glucose sensor shows a fall at 30 km. Should she take a gel?

Learning objectives
  • Describe how the body fuels exercise at different intensities and why the stores of carbohydrate limit long events.
  • Explain what an interstitial glucose sensor measures, why it lags the blood and why exercise degrades its accuracy.
  • Explain what blood lactate shows, how a threshold is found from a step test, and why sweat lactate is not blood lactate.
  • Compute the mean absolute relative difference between a sensor and a reference, and estimate a lag from two time series.
  • Apply five questions to any new sensor.
  • State the present limits on using these sensors in competition and in healthy athletes.

Heart

Read PDF 884 kB Notebook + data 7 kB

Slides 1Slides 2 Chapter page Week 7 lesson Data

Part III Video and Pose Chapters 8–10

Chapter 8 · 25 pages

Seeing Movement: Video and Pose Estimation

The app drew a skeleton over my video. How far is each dot from the real joint, and which of the numbers can I act on?

Learning objectives
  • Explain frame rate, shutter and resolution, and choose them for a task.
  • Tell the stored frame rate of a clip from the rate it was filmed at, and correct every time and speed for the difference.
  • Explain what a pose model returns and what its confidence does and does not mean.
  • Run a pose model on a clip in Python, put the keypoints in a table and draw the skeleton.
  • Set a scale from pixels to meters and state its error.
  • Name the four levels of error between a real joint and a reported number, and sort results into three levels of trust.
Set up a side-on running video
A stationary phone faces across the track. The plan view shows a camera about four metres back, its sightline square to travel, and a one-metre reference in the running plane. The frame includes the full runner.
Set the lens at about hip height and square to the running line. Put the reference in the runner’s plane. Four metres is an example distance. Adjust it so the whole body and space ahead and behind fit. Record the capture frame rate. The equipment scene is a generated illustration. Print figure
Set up a rear-view running video
The phone is centered behind the running line. A frame diagram shows the runner from behind, with both feet and the pelvis in view.
Center a fixed camera behind the runner, with the lens about hip height. Check that both feet and the pelvis remain visible through the section being analyzed. Print figure

Hip dropRange of motionCanvasJump

Read PDF 5.8 MB Notebook + data 310 kB

Slides 1Slides 2 Chapter page Week 8 lesson Data

Chapter 9 · 27 pages

Gait and Cyclic Sports

Is this runner overstriding, or is the camera angle making it look that way?

Learning objectives
  • Find the period of a repeating movement first, then detect the events inside each cycle, in a keypoint trace.
  • Compute cadence, contact time, flight time, duty factor and step length, and say which of them need a scale.
  • Explain the running form measures a coach asks about, and grade the evidence behind each.
  • Apply the same method to walking, pedaling and swimming, and name the reference each sport gives you for free.
  • Design a small study with a metronome and a tape measure, and turn its result into one cue for a runner.
Find contact and flight in video
Four reviewed side-view poses share a ground line. The shoe meets the line at initial contact, midstance, and toe-off. Both feet clear the line in flight. Solid and dashed connections distinguish limbs.
Initial contact is the first frame with visible ground contact. At midstance the body passes over the support foot. Toe-off is the last support instant before both feet clear the ground. The four phases are shown schematically and are equally spaced for comparison. Print figure

RunningWalkingCyclingSwimmingHip drop

Read PDF 851 kB Notebook + data 20 kB

Slides 1Slides 2 Chapter page Week 9 lesson Data

Chapter 10 · 27 pages

Power, Skill and Precision

Which frame is the release, and what does one frame of error cost?

Learning objectives
  • Find the key instant of a single movement and say how many frames wide its uncertainty is.
  • Estimate jump height, takeoff speed and mean power from a jump, and correct flight time for the clearance threshold.
  • Compute release speed and angle from a ball's path, and set a scale from the ball.
  • Explain proximal-to-distal sequencing and hip–shoulder separation, and why one camera understates separation.
  • Compare repeated trials with medians, spread and the probability of superiority.
  • Give one finding to an athlete in their own sport's words.

JumpJump + squatPush-upSprint startsJavelinShot put & discusDisc throwBaseball pitchingSoftball pitchingGolf swingTennis serveBasketball shotYouth basketballDribblingKicking

Read PDF 892 kB Notebook + data 16 kB

Slides 1Slides 2 Chapter page Week 10 lesson Data

Part IV From Data to Decisions Chapters 11–14

Chapter 11 · 38 pages

Is the Change Real? Statistics and Machine Learning

The athlete jumped 2 cm higher than last month. Is that training, or noise?

Learning objectives
  • Measure your own typical error from a test and a retest, set a smallest worthwhile change, and judge one athlete's result with a decision rule that ends in words.
  • Compare two devices or two methods with bias and limits of agreement, and explain why a high correlation does not show that they agree.
  • Put a range on a mean or a median by resampling the independent unit, and report a group result as a size with an interval.
  • Say what a p-value and a fitted slope do and do not tell a coach, name the likely confounders, and write a one-page experiment plan.
  • Fit and check a regression on real running data, compare it with a shallow tree and a mean baseline, and fit simple models to one athlete.
  • Train and test a classifier without leaking information, choose its threshold from precision and recall, and judge a forecast against persistence with a chronological split.
  • Say what ten athletes, or ten sessions, can and cannot support.

JumpHeartWatch dashboard

Read PDF 877 kB Notebook + data 40 kB

Slides 1Slides 2 Chapter page Week 11 lesson Data

Chapter 12 · 26 pages

Build Your Own Performance App

A coach says: “My runners record their heart in the morning, and the files sit on their phones. I just want to know whether this morning's file is good enough to use, and what the number is. Can you make me something?” What is the smallest tool that answers that one question?

Learning objectives
  • Reduce a coach's question to a one-page specification of the smallest tool that answers it.
  • Name the parts of a browser app (page, script, worker, canvas, build tool, static host) and say what each one does.
  • Direct an AI assistant to build an app in small steps, test what it builds against answers you worked by hand, and test that it survives normal, missing and invalid input.
  • Keep a user's data on their own device, and say on the page what the tool cannot do.
  • Run a user test with five people and three tasks, and change the app because of what you saw.

JumpHeart

Read PDF 1.5 MB Notebook + data 6 kB

Slides 1Slides 2 Chapter page Week 12 lesson Data

Chapter 13 · 27 pages

From Numbers to Coaching

What will the athlete do differently tomorrow because of your report?

Learning objectives
  • Write a finding in plain language for a named reader, with its uncertainty in words and numbers.
  • Choose one recommendation and one cue, and say why you chose them.
  • Lay out a one-page report and its single chart, and produce the chart from data to a fixed template.
  • Read a rating label the way an athlete hears it, and replace it with an honest description.
  • Hold a feedback conversation that ends in an agreed next step and a retest date.
  • Recognize findings that belong with a clinician, and data that an athlete has not agreed to share.
  • Turn a fitted model into a scenario: compare a plan with a baseline under a constraint, vary one uncertain input, and mark extrapolation.

Running

Read PDF 740 kB Notebook + data 5 kB

Slides 1Slides 2 Chapter page Week 13 lesson Data

Chapter 14 · 17 pages

Summary and Outlook

What can be trusted now, what is coming, and what is yours to decide?

Learning objectives
  • Say, for each quantity in the book, how it is measured, how to check it for free, how large its error is, and how far to trust it.
  • Choose a sensor or a camera, a protocol and a check for a coach's question.
  • Tell a sourced claim about coming technology from an opinion.
  • Divide work between an AI agent and yourself, and name what stays with a person.
  • Pick a gap in the field and start a project on it.
  • Name the engineering use of each method in the book, from sensor validation to leakage.
  • Repeat your first measurement and say what changed: in you, in the number and in how you read it.
Plan the retest before coaching
A clipboard alongside a timer lists the same warm-up, device, method and trial count, plus a decision rule chosen before the retest.
Repeat the Week 1 test with the same protocol and compare any change against repeat-to-repeat scatter. Plan the retest and state the decision rule before looking at the new result. The equipment scene is a generated illustration. Print figure

Jump

Read PDF 580 kB Notebook + data 3 kB

Slides 1Slides 2 Chapter page Week 14 lesson Data

Part V Case Studies 18 case studies

Each case study goes from a raw file to an action an athlete can take, three pages in print. The online version runs every step in the browser, with the data, a notebook and a challenge: apopt.com/course/tutorials.

Back matter Appendices

  1. Appendix A Python and AI Assistant Quick Start

    appAout[1][]language=,numbers=none,frame=single,framerule=0.4pt, rulecolor=ddagray!60,backgroundcolor=white,xleftmargin=4pt, basicstyle=,#1 appAform[1][]language=,numbers=none,frame=single,framerule=0.4pt,…

    Read PDF 396 kB Notebook + data 16 kB Page

  2. Appendix B Mathematics Refresher

    This appendix collects the mathematics the chapters use, at the level they use it. Each section gives the idea, the formula and one worked number from the book's examples. If a section is familiar, skip it; if a chapter's Engineer's note lost you, start here.…

    Read PDF 316 kB Notebook + data 3 kB Page

  3. Appendix C Body Atlas

    This atlas gives the names the book uses for the parts of the body and the ways they move, so that an engineer can read a coaching note and a coach can read a pose file. It covers the planes of motion, directional terms, the major bones and joints, the…

    Read PDF 917 kB Page

  4. Appendix D App Index

    [6] minipage #1://apopt.com/#2 1pt: #3. Chapters: #6. The app says: #4 Main outputs: #5minipage

    Read PDF 246 kB Page

  5. Appendix E Field Protocols and Forms

    [1][1.8in][-2pt]#10.4pt height -1.6pt depth 2pt0pt [2][][s]#1 #2 3pt [3][][s]#1 #2 #3 to 0.9in3pt [1][][s]#1 3pt [2][][s]#1 #2 to 0.9in3pt [2]#1 tocsubsection#1 [1]ddablue#1

    Read PDF 235 kB Page

  6. Appendix F Data Formats

    appFout[1][]language=,numbers=none,frame=single,framerule=0.4pt, rulecolor=ddagray!60,backgroundcolor=white,xleftmargin=4pt, basicstyle=,columns=fullflexible,#1

    Read PDF 384 kB Notebook + data 2 kB Page

  7. Appendix G Course Project Handbook

    [2]#2% [1]ddablue#1

    Read PDF 232 kB Page

  8. Appendix H Exam Preparation

    [1]#1 [1]#1

    Read PDF 244 kB Notebook + data 4 kB Page

  9. Appendix I Your Own Data and the Case Files

    [1]ddablue#1

    Read PDF 339 kB Page

  10. Appendix J The Athlete Record

    Read PDF 365 kB Notebook + data 48 kB Page

The apps and their chapters

Every app opens its chapter at the page where it is used, and every app has a Chapter button that comes back here. The apps are free, need no account, and analyze videos and files in your browser.

How to cite

Cite the chapter you used. Each chapter ends with a “How to cite this chapter” box, and its Cite button here gives the same reference with BibTeX and RIS. For the whole book:

Hedengren, J. (Ed.) (2027). Data-Driven Athletics: Measuring, Modeling and Coaching Human Performance with Video and Wearable Data. IRSRI Sports Research Institute. https://apopt.com/book/

All entries (.bib) All entries (.ris)

Cite