Private
Public Access
1
0

Merge branch 'hotfix/v3.25'

This commit is contained in:
Sander Roosendaal
2017-06-29 16:10:00 +02:00

View File

@@ -72,7 +72,7 @@ def cpfit(powerdf):
frac = abs(ddmin)/fitpoints.mean()
ratio = fitpoints.mean()/fitpoints0.mean()
return p1,fitt,fitpower,ratio
def getlogarr(maxt):
@@ -180,7 +180,7 @@ def getmaxwattinterval(tt,ww,i):
if testres:
deltat = 1.0e-3*(t_0-t_1)
wmax = w_roll.ix[indexmax]
if wmax > 800 or wmax > 800/(5.0e04*deltat):
if wmax > 800 or wmax*5.0e-4*deltat > 800.0:
wmax = 0
else:
wmax = 0