using rpe to calculate trimp/tss
This commit is contained in:
@@ -13,6 +13,20 @@ from rowers.mytypes import otwtypes,otetypes,rowtypes
|
||||
#p0 = [500,350,10,8000]
|
||||
p0 = [190,200,33,16000]
|
||||
|
||||
# RPE to TSS
|
||||
rpetotss = {
|
||||
1:20,
|
||||
2:30,
|
||||
3:40,
|
||||
4:50,
|
||||
5:60,
|
||||
6:70,
|
||||
7:80,
|
||||
8:100,
|
||||
9:120,
|
||||
10:140,
|
||||
}
|
||||
|
||||
def updatecp(delta,cpvalues,r,workouttype='water'):
|
||||
if workouttype in otwtypes:
|
||||
p0 = r.p0
|
||||
|
||||
Reference in New Issue
Block a user