Private
Public Access
1
0

adding critical stroke rate chart

This commit is contained in:
2025-02-04 20:00:44 +01:00
parent 8f7060ead8
commit 03f68aa72e
9 changed files with 364 additions and 76 deletions

View File

@@ -84,7 +84,10 @@ def cpfit(powerdf, fraclimit=0.0001, nmax=1000):
p1 = p0
thesecs = powerdf['Delta'].to_numpy()
theavpower = powerdf['CP'].to_numpy()
try:
theavpower = powerdf['CP'].to_numpy()
except: # pragma: no cover
theavpower = powerdf['CR'].to_numpy()
if len(thesecs) >= 4: