Private
Public Access
1
0

sort of works

This commit is contained in:
Sander Roosendaal
2018-06-25 18:59:47 +02:00
parent 90dcb2f4f9
commit b313726478
3 changed files with 5 additions and 11 deletions

View File

@@ -167,15 +167,15 @@ def handle_strava_import_stroke_data(stravatoken,
nr_strokes = len(t)
df = pd.DataFrame({'TimeStamp (sec)':unixtime,
' ElapsedTime (sec)':10*t,
' Horizontal (meters)':10*d,
' Stroke500mPace (sec/500m)':10*pace,
' ElapsedTime (sec)':t,
' Horizontal (meters)':d,
' Stroke500mPace (sec/500m)':pace,
' Cadence (stokes/min)':spm,
' HRCur (bpm)':hr,
' latitude':lat,
' longitude':lon,
' StrokeDistance (meters)':strokelength,
'cum_dist':10*d,
'cum_dist':d,
' DragFactor':np.zeros(nr_strokes),
' DriveLength (meters)':np.zeros(nr_strokes),
' StrokeDistance (meters)':np.zeros(nr_strokes),