Private
Public Access
1
0
This commit is contained in:
Sander Roosendaal
2017-06-09 02:15:46 +02:00
parent f6b7654014
commit 30e4468923

View File

@@ -2938,7 +2938,7 @@ def otwrankings_view(request,theuser=0,
indexmax = w_roll.idxmax(axis=1)
try:
t_0 = tt.ix[indexmax]
t_1 = tt.ix[indexmax-i-2]
t_1 = tt.ix[indexmax-i]
deltat = 1.0e-3*(t_0-t_1)
wmax = w_roll.ix[indexmax]
if not np.isnan(deltat) and not np.isnan(wmax):
@@ -2951,6 +2951,7 @@ def otwrankings_view(request,theuser=0,
dt = pd.Series(dt)
cpw = pd.Series(cpw)
cpvalues = griddata(dt.values,
cpw.values,
logarr,method='linear',