apopt.com

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

FileSizeRowsWhat it is
expected/printed-output.txt598 BEverything the tutorial prints, cell by cell
raw/walk_accel.csv146.2 KB2,980 rowsa 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

timeseconds_elapsedzyx
17997048000000000000.00000.777510.3907-0.4525
17997048000200801280.02010.002210.0185-0.1915
17997048000411696640.04120.73869.3640-0.0227
17997048000608071680.06080.28469.84240.2140
17997048000787243520.0787-0.118910.25010.3824
17997048000956858880.09570.52659.8979-0.1257
17997048001154378240.11540.43069.16390.6116
17997048001349230080.13490.33459.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/