This is a little script to track and visualize your progress while doing interval training. The neccessary .fit
files can be exported via services like Garmin Connect. Just collect all your interval workouts in a directory and execute the main.py
script. To get comparable results the workouts should have similiar properties (e.g. interval length, route, warmup, length). Of course there are some other factors like fatigue or just daily fitness which can influence the tempo of your intervals, but all in all you should be abled to track if you are improving over time or not.
To visualize several intervals of a single session equally a boxplot is used. The red line in the middle of the boxplots corresponds to the median of all given interval paces. The upper and lower bound of the pink boxes correspond to the upper (75th) and lower (25th) quartile oft the given data. For an effictive interval workout your paces for each interval should be somehow equal, in this case the boxes would be relative small indicating a smaller variance.
This uses the very good library fitparse to parse and extract information from the .fit
files.
- Create
conda
environment with:
conda create --name <env> --file requirements.txt
- Download original data from Garmin Connect
- Unzip all files with:
unzip \*.zip
- Replace activities with your own
- Run
python main.py
to execute script