Skip to content

Instantly share code, notes, and snippets.

@mutaku
Last active December 28, 2015 22:49
Show Gist options
  • Save mutaku/7574362 to your computer and use it in GitHub Desktop.
Save mutaku/7574362 to your computer and use it in GitHub Desktop.
In [1]: # Cadence measured by count ~10x during ride
In [2]: # Averaged 102 rpm (with a range of 96-122)
In [3]: 102 * 30 # rpm * min
Out[3]: 3060
In [4]: 17 + 133 + 89 # steps measured by fitbit intervals
Out[4]: 239
In [5]: 239.0 / 3060 # fitbit steps per rotation of pedal
Out[5]: 0.07810457516339869
In [6]: 3060. / 239 # rotations per fitbit step
Out[6]: 12.803347280334728
In [8]: 90 * 120 * 0.078 # estimated steps 2hr road ride
Out[8]: 842.4
In [9]: 90 * 180 * 0.078 # estimated steps 3hr road ride
Out[9]: 1263.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment