added NK EMpower parameters to api strokedata
This commit is contained in:
@@ -11508,6 +11508,12 @@ def strokedatajson(request,id):
|
|||||||
strokerecoverytime = trydf(df,aantal,'strokerecoverytime')
|
strokerecoverytime = trydf(df,aantal,'strokerecoverytime')
|
||||||
averagedriveforce = trydf(df,aantal,'averagedriveforce')
|
averagedriveforce = trydf(df,aantal,'averagedriveforce')
|
||||||
peakdriveforce = trydf(df,aantal,'peakdriveforce')
|
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')
|
lapidx = trydf(df,aantal,'lapidx')
|
||||||
hr = trydf(df,aantal,'hr')
|
hr = trydf(df,aantal,'hr')
|
||||||
|
|
||||||
@@ -11532,6 +11538,12 @@ def strokedatajson(request,id):
|
|||||||
' PeakDriveForce (lbs)':peakdriveforce,
|
' PeakDriveForce (lbs)':peakdriveforce,
|
||||||
' lapIdx':lapidx,
|
' lapIdx':lapidx,
|
||||||
' ElapsedTime (sec)':time,
|
' 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
|
# Following part should be replaced with dataprep.new_workout_from_df
|
||||||
|
|||||||
Reference in New Issue
Block a user