Private
Public Access
1
0

reverted bikeerg conversion in dataprep

This commit is contained in:
Sander Roosendaal
2018-08-29 09:23:59 +02:00
parent 219afaa40e
commit 10e989d32d

View File

@@ -871,8 +871,6 @@ def save_workout_database(f2, r, dosmooth=True, workouttype='rower',
# auto smoothing
pace = row.df[' Stroke500mPace (sec/500m)'].values
velo = 500. / pace
if workouttype == 'bikeerg':
velo = 1000. / pace
f = row.df['TimeStamp (sec)'].diff().mean()
if f != 0 and not np.isnan(f):