{% 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.

    When you change the date range, the algorithm calculates new parameters in a background process. You may have to reload the page to get an updated prediction.

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

  • Use this form to select a different date range:

    Select start and end date for a date range:

    {{ dateform.as_table }}

    Pieces used for predictions

    {{ form.as_table }}
    {% 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

    Add non-ranking piece using the form. The piece will be added in the prediction tables below.

    {% for pred in cpredictions %} {% for key, value in pred.items %} {% if key == "power" or key == "upper" %} {% endif %} {% if key == "duration" %} {% endif %} {% endfor %} {% endfor %}
    Duration Power Estimate 1 Power Estimate 2
    {{ value }} W {{ value |deltatimeprint }}
{% endblock %} {% block sidebar %} {% include 'menu_analytics.html' %} {% endblock %}