added velo
This commit is contained in:
@@ -94,6 +94,7 @@ if settings.DEBUG or user == '':
|
||||
columndict = {
|
||||
'time': 'TimeStamp (sec)',
|
||||
'hr': ' HRCur (bpm)',
|
||||
'velo': ' AverageBoatSpeed (m/s)',
|
||||
'pace': ' Stroke500mPace (sec/500m)',
|
||||
'spm': ' Cadence (stokes/min)',
|
||||
'power': ' Power (watts)',
|
||||
@@ -2039,6 +2040,7 @@ def dataprep(rowdatadf, id=0, bands=True, barchart=True, otwpower=True,
|
||||
rowdatadf.loc[row_index, ' Stroke500mPace (sec/500m)'] = 3000.
|
||||
|
||||
p = rowdatadf.ix[:, ' Stroke500mPace (sec/500m)']
|
||||
velo = rowdatadf.ix[:,' AverageBoatSpeed (m/s)']
|
||||
hr = rowdatadf.ix[:, ' HRCur (bpm)']
|
||||
spm = rowdatadf.ix[:, ' Cadence (stokes/min)']
|
||||
cumdist = rowdatadf.ix[:, 'cum_dist']
|
||||
@@ -2113,6 +2115,7 @@ def dataprep(rowdatadf, id=0, bands=True, barchart=True, otwpower=True,
|
||||
hr=hr,
|
||||
pace=p * 1e3,
|
||||
spm=spm,
|
||||
velo=velo,
|
||||
cumdist=cumdist,
|
||||
ftime=niceformat(t2),
|
||||
fpace=nicepaceformat(p2),
|
||||
|
||||
Reference in New Issue
Block a user