Commit Graph

24 Commits

Author SHA1 Message Date
Mark Liversedge
8751de5161 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
66d2bd467e 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
b3f1ab1389 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
a4f3573af4 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
a4f22b4d8c Fix cp2-20 to not use t0 ! 2014-04-28 20:12:07 +01:00
Mark Liversedge
80272cff5c 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
c551b82b4f 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
2e315f32ff CPPlot y-axis for power
.. always a multiple of 100w
2014-04-17 10:05:40 +01:00
Mark Liversedge
317f1b0d2d 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
a4646dc0af Fix CP as percent tooltip
Fixes #850
2014-04-14 21:27:01 +01:00
Mark Liversedge
636fb8d732 Fix CPPlot SEGV
.. crashes on low power files (eg. power = 0.1w)
2014-04-13 21:44:46 +01:00
Damien
d1476df322 Rank 2014-04-10 21:08:55 +02:00
Mark Liversedge
e227d71b31 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
5bd1d77b93 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
49c0aa75fe 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
991bdccd84 Check null in CPPlot setRide
.. to avoid plotting before GC has even opened!
2014-03-27 08:14:30 +00:00
Mark Liversedge
203f2d4b46 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
3c490c49a0 CP plot handling empty rides 2014-03-25 16:23:34 +00:00
Mark Liversedge
6cbe38e1e4 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
761c78b3b2 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
Mark Liversedge
59101530c6 Copyright message update for CP chart 2014-03-24 21:39:46 +00:00
Mark Liversedge
67cf487d38 CP Refactor 1 of 3
.. basic ride, bests and model plots all working

.. Compare mode is now BROKEN !

Will fixup the rest tomorrow, needed to checkpoint
the core refactoring work.
2014-03-24 21:30:15 +00:00
Mark Liversedge
d0d23d6b37 CPPlot.cpp C++ Code Prettify
.. with astyle --style=kr and a little bit of manual editing
2014-03-24 11:49:15 +00:00
Mark Liversedge
d4cff64ff3 CP Code Wash before Refactor
.. the CP plot curve is a terrible mess. Mostly from
   having multiple significant updates from a number
   of notable developers; Sean, Dan, Mark and Damien
   have all made significant contributions.

.. But the code contains lots of 'smells' and is very
   difficult to follow and update

.. this update makes no functional changes but is put
   in place before overhauling the code related to
   "calculating" and plotting the different curves.
2014-03-24 11:08:07 +00:00