Private
Public Access
1
0

fixing analysis data bokeh

This commit is contained in:
2023-06-04 09:26:36 +02:00
parent b6202369c7
commit 206ee219f3
5 changed files with 20 additions and 26 deletions

View File

@@ -329,7 +329,7 @@ def getmaxwattinterval(tt, ww, i):
w_roll = ww.rolling(i+2).mean().dropna()
if len(w_roll):
# now goes with # data points - should be fixed seconds
indexmax = w_roll.idxmax(axis=1)
indexmax = w_roll.idxmax(axis=0)
# indexmaxpos = indexmax.get_loc(indexmax)
indexmaxpos = indexmax
try: