{% extends "base.html" %} {% load staticfiles %} {% load rowerfilters %} {% block title %}Workout Statistics{% endblock %} {% block content %}

Workout Statistics for {{ workout.name }}

This is an experimental page which just lists a bunch of statistics for your workout. The mean is of a metric is the mean with equal weight for each stroke. The time weighted mean takes into account the stroke duration.

Edit Workout

Workflow View

Advanced

{% csrf_token %} {% if workstrokesonly == True %} {% else %} {% endif %}
If your data source allows, this will show or hide strokes taken during rest intervals.
{% if stats %} {% for key, value in stats.items %}

{{ value.verbosename }}

Metric Value
Mean{{ value.mean|floatformat:-2 }}
Time Weighted Mean {{ value.wmean|floatformat:-2 }}
Minimum{{ value.min|floatformat:-2 }}
25%{{ value.firstq|floatformat:-2 }}
Median{{ value.median|floatformat:-2 }}
75%{{ value.thirdq|floatformat:-2 }}
Maximum{{ value.max|floatformat:-2 }}
Standard Deviation{{ value.std|floatformat:-2 }}
{% endfor %} {% endif %}
{% if otherstats %}
 

rPower: Equivalent steady state power for the duration of the workout.

Heart Rate Drift: Comparing heart rate normalized for average power for the first and second half of the workout

TRIMP: TRaining IMPact. A way to combine duration and heart rate into a single number.

rScore: Score based on rPower and workout duration to estimate training effect

rScore (HR): Score based on heart rate, designed to give values comparable to rScore. Used instead of rScore for workouts without power data.

Other Stats

{% for key, value in otherstats.items %} {% endfor %}
Metric Value Unit
{{ value.verbose_name }} {{ value.value }} {{ value.unit }}
{% endif %}
{% if cordict %}

Correlation matrix

This matrix indicates a positive (+) or negative (-) correlation between two parameters. The Spearman correlation coefficient has values between +1 and -1. Positive correlation between two metrics means that if one metric increases, the other value is also likely to increase. Negative is the opposite. The further from zero, the higher the likelyhood.

{% for key,value in cordict.items %} {% endfor %} {% for key, thedict in cordict.items %} {% for key2,value in thedict.items %} {% endfor %} {% endfor %}
 
{{ key }}
{{ key }} {% if value > 0.5 %}
{{ value|floatformat:-1 }}
{% elif value > 0.1 %}
{{ value|floatformat:-1 }}
{% elif value < -0.5 %}
{{ value|floatformat:-1 }}
{% elif value < -0.1 %}
{{ value|floatformat:-1 }}
{% else %}   {% endif %}
{% endif %}
{% endblock %}