Private
Public Access
1
0

added NK EMpower parameters to api strokedata

This commit is contained in:
Sander Roosendaal
2018-03-29 18:24:13 -07:00
parent cf3a3e227d
commit f711bd8214

View File

@@ -11508,6 +11508,12 @@ def strokedatajson(request,id):
strokerecoverytime = trydf(df,aantal,'strokerecoverytime')
averagedriveforce = trydf(df,aantal,'averagedriveforce')
peakdriveforce = trydf(df,aantal,'peakdriveforce')
wash = trydf(df,aantal,'wash')
catch = trydf(df,aantal,'catch')
finish = trydf(df,aantal,'finish')
peakforceangle = trydf(df,aantal,'peakforceangle')
driveenergy = trydf(df,aantal,'driveenergy')
slip = trydf(df,aantal,'slip')
lapidx = trydf(df,aantal,'lapidx')
hr = trydf(df,aantal,'hr')
@@ -11532,6 +11538,12 @@ def strokedatajson(request,id):
' PeakDriveForce (lbs)':peakdriveforce,
' lapIdx':lapidx,
' ElapsedTime (sec)':time,
'catch':catch,
'slip':slip,
'finish':finish,
'wash':wash,
'driveenergy':driveenergy,
'peakforceangle':peakforceangle,
})
# Following part should be replaced with dataprep.new_workout_from_df