Commit Graph

54 Commits

Author SHA1 Message Date
Damien
5379728496 CPPlot: Add ride plot for veloclinic plot 2014-09-01 22:18:34 +02:00
Damien
9f4c225ee4 CPPlot: Place shade mode labels for veloclinic plot 2014-09-01 21:54:32 +02:00
Damien
8f88918ca6 CPPlot: Standard ScaleDraw (not time) for velocliniplot 2014-09-01 21:37:16 +02:00
Damien
4292a24290 CPPlot: Add Veloclinic plot
TODO :
  no percentage or heat in this plot
  compare mode
  cp adjustment if no model
  ...
2014-08-31 22:09:28 +02:00
Mark Liversedge
3069c7e38b Unzoom fails on CP Plot
Fixes #972
2014-07-15 00:50:51 +01:00
Mark Liversedge
5428f429a4 Fix delta compare intervals x-axis
.. was fixed for compare date ranges but somehow got
   overlooked for comparing rides and intervals
2014-07-03 13:59:55 +01:00
Mark Liversedge
504730a366 Fixup CP chart
.. remove inverse time (but add support to Model for future reference)

.. fix x labelling for plotting Work

.. remove options for best shading, its now on or off

Fixes #924
2014-07-02 19:45:21 +01:00
Joern
8a3a9ae5df Some more AM/APs
... some more AP/AM changes (hopefulyl the last ones)
... Setttings.h - the GC_DATETIMEFORMAT constant is not used anywhere
(old usages are de-activated)
2014-06-30 14:21:19 +02:00
Mark Liversedge
2f36383df5 Default linewidth smaller
.. was 2.0px now 0.5

.. no longer looks like it was drawn with a crayon by default !
2014-06-23 10:06:03 +01:00
Mark Liversedge
902210a183 Antialias is now on BY DEFAULT 2014-06-23 10:03:20 +01:00
Mark Liversedge
ebd13a5b05 Fix SEGV on CP export with no model 2014-06-18 19:16:43 +01:00
Mark Liversedge
e791359274 Add Endurance Index to CP overlay
.. for power and w/kg
2014-06-17 21:41:59 +01:00
Mark Liversedge
14b0bd80ae CP clean up
.. use J/kg not Kj/Kg on overlay

.. bounds check the ranking to make sure it is in bounds
2014-06-16 11:37:54 +01:00
Joern
053e89284a Show Heat - sometimes wrong scale
... set YAxis scale
... set more specific YAxis texts (Percent of Best / Heat)
... Adjust Unit in Heat Hover
2014-06-15 13:00:25 +02:00
Joern
30d411a635 Translation Enablement
... and nothing else
2014-06-13 20:45:04 +02:00
Mark Liversedge
ca6204d89e Fix tooltip for Compare Delta Percent 2014-06-02 17:41:55 +01:00
Mark Liversedge
9d0d0a0478 CP Plot Delta as Percent
.. delta plot but with percentage rather than absolute differences

.. particularly useful for plotting PD curve by seasons and looking
   at the gains/losses in percentage terms per season

.. also the differences in short and long durations in absolute terms
   often look quite different, in percentage terms there is often not
   a huge difference over seasons.

NOTE: Needs to be fixed up to do percentage differences by model.
2014-06-02 14:03:33 +01:00
Mark Liversedge
601033689f Centile plot honour color config 2014-05-25 21:32:18 +01:00
Mark Liversedge
bd49753d1c Fix x axis on CP plot compare
.. when changing ride series from e.g Power to W/KG
2014-05-25 10:07:16 +01:00
Mark Liversedge
32e14f1ab1 Fix Veloclinic Model Variant Selection
.. it was broken in the PDModel refactor.

.. you can now select variants for the aerobic
   (slowtwtich) component.
2014-05-23 21:11:09 +01:00
Mark Liversedge
033ac9c9d2 CP Delta Compare Part 2b of 2a/b
.. now completed to allow model comparisons too.
2014-05-23 10:38:31 +01:00
Mark Liversedge
41a52a8c2f CP Delta Compare Part 2a of 2a/b
.. just quickly commit the changes for delta compare for
   comparing rides and intervals.

.. still need to fix up the model delta compare.
2014-05-22 22:43:35 +01:00
Mark Liversedge
d8e70bc937 CP Delta Compare Part 1 of 2
.. delta compare to use first date range as a baseline to
   compare other date ranges to.

.. only works for the bests curve in date range mode

.. in part 2 will add the model and also rides/intervals.
2014-05-22 21:54:11 +01:00
Mark Liversedge
9180d53ca0 Tweak ride list accent bar
.. 2px wider at 7px .. better proportions

.. am slowly turning into Steve Jobs .. can
   someone pass the orange juice please.
2014-05-21 20:48:55 +01:00
Mark Liversedge
f8c03776ac Compare mode CP plots model
.. so you can compare models for different date ranges
2014-05-21 18:49:58 +01:00
Mark Liversedge
085ce83bf5 CPPlot Show Best Option
.. sometimes its useful just to see the model and not the bests
   curve. So added an option to get rid of the bests curve and
   show the model on its own.
2014-05-21 14:18:57 +01:00
Mark Liversedge
033d704e48 Add Model Data to CP export
.. if a model is active we can get the model values now
   using PDModel::y() which is kinda neat !
2014-05-19 20:11:45 +01:00
Mark Liversedge
15dc113ae4 CP w/kg fixups
.. all the recent work on the CP chart has focused on absolute
   watts and not taken into account w/kg !

.. this fixes that up, but still need to look at w/kg on the
   model parameters stuff for the CP history chart
2014-05-19 17:16:19 +01:00
Mark Liversedge
df3d096d4b Refactor CPPlot to use new PDModel
.. the last piece of the jigsaw for the CP chart refactoring was
   to use the new model class and remove the calculation in CPPlot.

.. we have now removed the ridefilecache out of CP, the model calculation
   and refactored to support multiple models.
2014-05-18 20:58:32 +01:00
Mark Liversedge
533a578653 Fix CP heat age cosmetic glitch 2014-05-17 09:16:01 +01:00
Mark Liversedge
863f2a582b Multicomponent model, default alpha to 0
.. looking at the briefing from Mike on Youtube it looks
   like an alpha value of 0 is a compromise between -0.1
   and 0.1.

.. see the video here: http://www.youtube.com/watch?v=v57NRQ-pHps
2014-05-04 20:35:07 +01:00
Mark Liversedge
2b1e2d3462 CP Chart can now export bests data
.. via a custom menu option on the chart menu (More...)

.. which means we also now have a mechanism for each chart
   to add their own menu options to the More... menu

.. will no doubt need to add this to the LTM chart
2014-05-03 20:39:46 +01:00
Mark Liversedge
481fd5d09c Michael Puchowicz Models
.. updated to include all 3 variants of the 'Veloclinic' model
   linear, exponential and regeneration models for the second
   component
2014-05-03 09:54:07 +01:00
Mark Liversedge
1baff94e2d Fix 2 parameter CP .. again
.. broke when playing with t0 for veloclinic model, because
   t0 is actually used in the loop within deriveCPParameters()
2014-04-28 21:50:36 +01:00
Mark Liversedge
1fbfe112b1 Fix cp2-20 to not use t0 ! 2014-04-28 20:12:07 +01:00
Mark Liversedge
eb8a138f8b Veloclinic Multicomponent Model
.. implementation of the Veloclinic model, or at least
   the first of a few potential models.

.. It may not be correct at this point, but committing
   a checkpoint.
2014-04-26 22:44:05 +01:00
Mark Liversedge
5f0bd0bf23 CPPlot warning to qDebug
.. qmessagebox is a bad idea since user has not idea
   why it is being raised.
2014-04-22 21:05:08 +01:00
Mark Liversedge
0fef5e634c CPPlot y-axis for power
.. always a multiple of 100w
2014-04-17 10:05:40 +01:00
Mark Liversedge
b197c70b3d Fixup CP and AllPlot
.. CP to show % for all ride series not just watts
.. AllPlot to show calibration markers in gray
2014-04-14 22:10:53 +01:00
Mark Liversedge
86489c6a26 Fix CP as percent tooltip
Fixes #850
2014-04-14 21:27:01 +01:00
Mark Liversedge
6e14f048ab Fix CPPlot SEGV
.. crashes on low power files (eg. power = 0.1w)
2014-04-13 21:44:46 +01:00
Damien
676d1a032a Rank 2014-04-10 21:08:55 +02:00
Mark Liversedge
9fb5b39f28 Truncate W'bal going hugely negative
.. this is caused by bad data and/or the spline getting
   spoilt. We need a better way of decritizing the data.
2014-04-09 10:58:53 +01:00
Mark Liversedge
9c85310ca8 CP Chart Overlay
.. now has an overlay widget that can contain multiple widgets
   and is user movable and resizable etc

.. we show the model derived values for now, but could add other
   things at a later date (e.g. MU distribution etc).

Fixes #811.
2014-04-08 15:36:24 +01:00
Mark Liversedge
2e2b864c34 CP plot cosmetics
.. show the 1s point (it was truncated)
.. show power bests as dots if there is a model curve
2014-04-02 14:05:18 +01:00
Mark Liversedge
907382c756 Check null in CPPlot setRide
.. to avoid plotting before GC has even opened!
2014-03-27 08:14:30 +00:00
Mark Liversedge
e275a74561 Remove CP friend class
.. its a hack, and wasn't really needed

.. also reimplemented getBest() functions since they
   incorreclty assumed that bestsCache would never be NULL
2014-03-26 11:04:49 +00:00
Mark Liversedge
987176c50e CP plot handling empty rides 2014-03-25 16:23:34 +00:00
Mark Liversedge
56637e6ed9 CP Refactor 3 of 3
.. fix compare date ranges

Now code is ready to extend with new models
and display widgets etc.
2014-03-25 11:54:31 +00:00
Mark Liversedge
f564d8da15 CP Refactor 2 of 3
.. fixup ride mode, interval hover crash/bugs
.. fixup interval compare mode
.. fixup rangemode

NOTE: Compare date ranges is still broken that
      will be fixed in part 3.
2014-03-25 10:49:58 +00:00