GoldenCheetah / scikit-sports

Sports analysis library for Python
https://scikit-sports.readthedocs.io/en/latest/
MIT License
42 stars 10 forks source link

heart rate based TSS and IF #11

Open ebarcikowski opened 5 years ago

ebarcikowski commented 5 years ago

I want to create TSS and IF plots, like are found in Training Peaks, but from heart rate data, not cycling power. Can I use the metrics based functions for these? For example, sksports.metrics.normalized_intensity_score or sksports.metrics.training_stress_score? I guess is it enough to just change the column and provide a threshold based on heart rate?

I was originally planning to develop my, so it's nice to see this library.

sladkovm commented 5 years ago

Hi, to the best of my knowledge the HR based assessment of training load is based on TRIMP and close derivatives and not the same as the power-based assessment.

A good overview of different formulae to use is here https://www.researchgate.net/publication/291695236_Training_load_monitoring

And please submit a pull request, when ready - somehow this library needs a bit of kick in the butt to get going again.