Skip to content

Commit 327da31

Browse files
committed
Add reference to TrainingPeaks blog post with TSS formula
TrainingPeaks' blog has a post by Joe Friel that has the TSS formula, and it uses normalized power. Add this to the references as my only other reference for the TSS formula was the 2003 Coggan post, which says to use average power, even though I knew normalized power is the correct value to use.
1 parent 27f9a14 commit 327da31

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

Diff for: README.md

+2
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,8 @@ Coggan, Andrew. (2003, March 13). _TSS and IF - at last!_ Retrieved June 14, 201
376376

377377
Eckner, Andreas. (2017, April 3). _Algorithms for Unevenly Spaced Time Series: Moving Averages and Other Rolling Operators._ Retrieved June 14, 2017, from http://eckner.com/papers/Algorithms%20for%20Unevenly%20Spaced%20Time%20Series.pdf
378378

379+
Friel, Joe. (2009, Sept 21). _Estimating Training Stress Score (TSS)._ Retrieved June 22, 2017, from https://www.trainingpeaks.com/blog/estimating-training-stress-score-tss/
380+
379381
# License
380382
This project is licensed under the MIT License. See
381383
[LICENSE](https://github.com/mtraver/fitanalysis/blob/master/LICENSE) file

Diff for: fitanalysis/activity.py

+6-5
Original file line numberDiff line numberDiff line change
@@ -404,11 +404,12 @@ def training_stress(self, ftp):
404404
"""Calculates the training stress of the activity.
405405
406406
This is essentially a power-based version of Banister's heart rate-based
407-
TRIMP (training impulse). See (Coggan, 2003) cited in README for details.
408-
The formula in that post specifies that average power should be used in
409-
the calculation, but normalized power is used here instead because it
410-
yields values in line with the numbers from TrainingPeaks; using average
411-
power does not.
407+
TRIMP (training impulse). Andrew Coggan's introduction of TSS and IF
408+
specifies that average power should be used to calculate training stress
409+
(Coggan, 2003), but a later post on TrainingPeaks' blog specifies that
410+
normalized power should be used (Friel, 2009). Normalized power is used
411+
here because it yields values in line with the numbers from TrainingPeaks;
412+
using average power does not.
412413
413414
Args:
414415
ftp: Functional threshold power in Watts.

0 commit comments

Comments
 (0)