Private
Public Access
1
0
This commit is contained in:
Sander Roosendaal
2018-07-11 16:23:19 +02:00
parent 1ada144b8e
commit 9ba187dc8f

View File

@@ -1031,8 +1031,6 @@ def dataprep(rowdatadf,id=0,bands=True,barchart=True,otwpower=True,
velo = 500./p
distanceperstroke = 60.*velo/spm
if debug:
print distanceperstroke.mean()
@@ -1212,8 +1210,6 @@ def dataprep(rowdatadf,id=0,bands=True,barchart=True,otwpower=True,
ergpace[ergpace == np.inf] = 240.
ergpace2 = ergpace.apply(lambda x: timedeltaconv(x))
efficiency = efficiency.replace([-np.inf,np.inf],np.nan)
efficiency.fillna(method='ffill')
data['ergpace'] = ergpace*1e3