added explanation
This commit is contained in:
@@ -468,7 +468,6 @@ def getfastest(df,thevalue,mode='distance'):
|
|||||||
starttime = griddata(restime,starttimes,[thevalue*60*1000],method='linear',rescale=True)
|
starttime = griddata(restime,starttimes,[thevalue*60*1000],method='linear',rescale=True)
|
||||||
duration = griddata(restime,restime,[thevalue*60*1000],method='linear',rescale=True)
|
duration = griddata(restime,restime,[thevalue*60*1000],method='linear',rescale=True)
|
||||||
endtime = starttime+duration
|
endtime = starttime+duration
|
||||||
print(distance,starttime,endtime )
|
|
||||||
return distance[0],starttime[0]/1000.,endtime[0]/1000.
|
return distance[0],starttime[0]/1000.,endtime[0]/1000.
|
||||||
|
|
||||||
return 0 # pragma: no cover
|
return 0 # pragma: no cover
|
||||||
|
|||||||
@@ -60,7 +60,9 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<h1>Feeling lucky?</h1>
|
<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">
|
<form enctype="multipart/form-data" method="post">
|
||||||
<input type="hidden" name="ruptures" value="ruptures">
|
<input type="hidden" name="ruptures" value="ruptures">
|
||||||
<table width=100%>
|
<table width=100%>
|
||||||
|
|||||||
Reference in New Issue
Block a user