Data / tutorials / q10-phone-log
Tutorial Q-10: Open a phone sensor log and plot it
Tutorial
Open a phone accelerometer log, compute its real sample rate from the time stamps, turn three axes into one magnitude, and plot the whole session and a zoom to see the steps and the faults.
Files for the tutorial Open a phone sensor log and plot it (https://apopt.com/course/tutorials/q10-phone-log/). 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
| File | Size | Rows | What it is |
|---|---|---|---|
| expected/printed-output.txt | 598 B | Everything the tutorial prints, cell by cell | |
| raw/walk_accel.csv | 146.2 KB | 2,980 rows | a phone accelerometer log of a 60 s walk at about 50 samples a second, with time in nanoseconds and x, y, z in m/s² (synthetic, with planted faults) |
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 raw/walk_accel.csv
| time | seconds_elapsed | z | y | x |
|---|---|---|---|---|
| 1799704800000000000 | 0.0000 | 0.7775 | 10.3907 | -0.4525 |
| 1799704800020080128 | 0.0201 | 0.0022 | 10.0185 | -0.1915 |
| 1799704800041169664 | 0.0412 | 0.7386 | 9.3640 | -0.0227 |
| 1799704800060807168 | 0.0608 | 0.2846 | 9.8424 | 0.2140 |
| 1799704800078724352 | 0.0787 | -0.1189 | 10.2501 | 0.3824 |
| 1799704800095685888 | 0.0957 | 0.5265 | 9.8979 | -0.1257 |
| 1799704800115437824 | 0.1154 | 0.4306 | 9.1639 | 0.6116 |
| 1799704800134923008 | 0.1349 | 0.3345 | 9.5803 | -0.0963 |
First 8 of 2,980 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/q10-phone-log/raw/walk_accel.csv")const text = await (await fetch("https://apopt.com/data/tutorials/q10-phone-log/raw/walk_accel.csv")).text();Or download load.py / load.js.
How to cite
Tutorial Q-10: Open a phone sensor log and plot it. IRSRI Sports Research Institute, 2026. Data-Driven Athletics data repository. https://apopt.com/data/tutorials/q10-phone-log/