From 6fa8030f4cdba237f2160dd44d4897a8ec77538d Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Fri, 28 May 2021 10:17:56 +0200 Subject: [PATCH] added explanation --- rowers/datautils.py | 1 - rowers/templates/summary_edit.html | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/rowers/datautils.py b/rowers/datautils.py index 8c7727c7..8489af1f 100644 --- a/rowers/datautils.py +++ b/rowers/datautils.py @@ -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 diff --git a/rowers/templates/summary_edit.html b/rowers/templates/summary_edit.html index cc68a3df..21fb9bc5 100644 --- a/rowers/templates/summary_edit.html +++ b/rowers/templates/summary_edit.html @@ -60,7 +60,9 @@

Feeling lucky?

-

+

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.