Private
Public Access
1
0

added explanation

This commit is contained in:
Sander Roosendaal
2021-05-28 10:17:56 +02:00
parent cb3e74019b
commit 6fa8030f4c
2 changed files with 3 additions and 2 deletions

View File

@@ -468,7 +468,6 @@ def getfastest(df,thevalue,mode='distance'):
starttime = griddata(restime,starttimes,[thevalue*60*1000],method='linear',rescale=True)
duration = griddata(restime,restime,[thevalue*60*1000],method='linear',rescale=True)
endtime = starttime+duration
print(distance,starttime,endtime )
return distance[0],starttime[0]/1000.,endtime[0]/1000.
return 0 # pragma: no cover

View File

@@ -60,7 +60,9 @@
</tr>
</table>
<h1>Feeling lucky?</h1>
<p>
<p>This new, experimental feature tries to find intervals by looking for patterns in the data. It does not
autodetect rest and work intervals yet. The resulting "interval string" is copied to the Interval Shorthand
section below, where you can edit it.
<form enctype="multipart/form-data" method="post">
<input type="hidden" name="ruptures" value="ruptures">
<table width=100%>