The original article with the detailed description is available here
This repo contains following scripts examples:
- FTP test general chart example built from parsed FIT data with Python and visualized with the help of matplotlib. The script contains basic calculations for FTP value.
- PWC170 modified probe example based on regular cycling trainings. The script contains the logic for getting input data for PWC170 formula and graphical extrapolation to find PWC170 value.
- Linear regression model to calculate training performance over the training season. The script includes example for one training model fit and chart.
- The script contains functions for normalized power (NP) and Training Stress Score (TSS) calculations.
- The script contains dataset rows generation to analyze TSS scores and their Exponential Moving Average (EMA) against power coefficient k (HR[bpm] = b+k*Power[watts]) dynamics during the training season. Matplotlib chart is also provided.