Private
Public Access
1
0

Merge branch 'hotfix/v2.17'

This commit is contained in:
Sander Roosendaal
2017-04-21 08:53:33 +02:00

View File

@@ -363,7 +363,7 @@ def save_workout_database(f2,r,dosmooth=True,workouttype='rower',
velo = 500./pace
f = row.df['TimeStamp (sec)'].diff().mean()
if f !=0:
if f !=0 and not np.isnan(f):
windowsize = 2*(int(10./(f)))+1
else:
windowsize = 1