Skip to content

bopopescu/fitbit-parsing

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fitbit-parsing

This application does the basic work of parsing a fit file, using the include open source python-fitparse library to capture the power channel as an offset from start.

It answers the question: Find the 1, 5, 10, 15, and 20 minute "best" efforts using the method above in parallel

FIT File Background

The FIT file format, developed by Dynastream, is a common format used by fitness devices to store fitness data. The format is message based, with each message having a timestamp and one or more data "channels" depending on the device and accessories being used.

Channel data may include GPS, heart rate, power, distance or speed to name a few common ones. When paired with a power meter, FIT messages are sampled at a constant rate, typically once every second.

A single file will contain multiple channels and each channel has different data and data structures (byte, ushort, etc.)

To run this application from a terminal

  • The following must be installed
    • Python
    • virtualenvironment
. ./venv/bin/activate
pip install ./lib/fitparse-1.0.1.zip
python ./src/main.py ./data/2012-05-31-11-17-12.fit```

About

Parses a fitbit file then displays the best efforts in specific time frames

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.8%
  • Shell 0.2%