{% extends "newbase.html" %} {% load static %} {% load rowerfilters %} {% block scripts %} {% include "monitorjobs.html" %} {% endblock %} {% block title %}Workouts{% endblock %} {% block main %} {{ interactiveplot |safe }} {% if theuser %}

{{ theuser.first_name }}'s Ranking Pieces

{% else %}

{{ user.first_name }}'s Ranking Pieces

{% endif %}
  • Summary for {{ theuser.first_name }} {{ theuser.last_name }} between {{ startdate|date }} and {{ enddate|date }}

    The table gives the efforts you marked as Ranking Piece. The graph shows the best segments from those pieces, plotted as average power (over the segment) vs the duration of the segment/ In other words: How long you can hold that power.

    Whenever you load or reload the page, a new calculation is started as a background process. The page will reload automatically when the calculation is ready.

    At the bottom of the page, you will find predictions derived from the model.

  • Select start and end date for a date range:

    {{ dateform.as_table }}

    Pieces used for predictions

    {{ form.as_table }}

    Workout Type

    {{ workouttypeform.as_p }}
    {% csrf_token %}
  • Critical Power Plot

    {{ the_div|safe }}
  • Ranking Piece Results

    {% if rankingworkouts %} {% for workout in rankingworkouts %} {% endfor %}
    Distance Duration Avg Power Date Avg HR Max HR Edit
    {{ workout.distance }} m {{ workout.duration |durationprint:"%H:%M:%S.%f" }} {{ avgpower|lookup:workout.id }} W {{ workout.date }} {{ workout.averagehr }} {{ workout.maxhr }} {{ workout.name }}
    {% else %}

    No ranking workouts found

    {% endif %}
  • Pace predictions for Ranking Pieces

    {% for pred in cpredictions %} {% for key, value in pred.items %} {% if key == "power" or key == "upper" %} {% endif %} {% if key == "duration" %} {% endif %} {% if key == "distance" %} {% endif %} {% if key == 'pace' %} {% endif %} {% endfor %} {% endfor %}
    Duration Distance Pace (upper) Power     Power (upper)
    {{ value }} W {{ value |deltatimeprint }} {{ value }} m {{ value|paceprint }}
{% endblock %} {% block sidebar %} {% include 'menu_analytics.html' %} {% endblock %}