Private
Public Access
1
0

able to calculate polarization index (from power only)

This commit is contained in:
Sander Roosendaal
2019-06-14 15:26:45 +02:00
parent f00b10182a
commit 319946f0b1
3 changed files with 31 additions and 2 deletions

View File

@@ -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()