able to calculate polarization index (from power only)
This commit is contained in:
@@ -1304,6 +1304,11 @@ def workouts_view(request,message='',successmessage='',
|
||||
workoutsnohr = workouts.exclude(averagehr__isnull=False)
|
||||
for w in workoutsnohr:
|
||||
res = dataprep.workout_trimp(w)
|
||||
|
||||
# ids = [w.id for w in workouts]
|
||||
# df = dataprep.getsmallrowdata_db(['time','power'],ids=ids)
|
||||
# polarization = dataprep.polarization_index(df,r)
|
||||
|
||||
|
||||
if query:
|
||||
query_list = query.split()
|
||||
|
||||
Reference in New Issue
Block a user