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
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.)
- 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```