Commit Graph

69 Commits

Author SHA1 Message Date
Mark Liversedge
c4849d78f2 Minor logic error 2014-12-07 00:20:17 +00:00
Alejandro Martinez
aeb3eed27e Enabled CP Models for Speed series
Results are shown in metric units for speed/distance and pace units according to user preferences
2014-12-06 20:48:31 -03:00
Claus Assmann
35eb416bd2 Fix comment spelling errors
.. lots of them !
2014-11-24 15:37:56 +00:00
Alejandro Martinez
1554865415 Added pace zone shading to CPPlot
When enabled it is convenient to set a filter for running activities in the chart since this is not done automatically yet
2014-11-21 15:25:26 -03:00
Mark Liversedge
bf2b7d0605 More CP tooltip
.. model curve is null when not shown, so better
   check before ignoring the tooltip update
2014-11-20 13:59:16 +00:00
Mark Liversedge
26e6639ae5 Hide tooltip in CPPlot
.. when not hovering over a curve, this worked ok for power
   but not for anything else. Because the signal was ignored
   when not showing power in pointHover.
2014-11-20 11:09:08 +00:00
Alejandro Martinez
36da18b78f Add pace to tooltip in CV chart
Fixed units selection in histogram tooltip, it is independent of pace units
NB: CV chart currently doesn't obey units setting for speed, it is fixed to kph
2014-11-19 21:34:29 -03:00
Joern
a91e53a02b VAM CP x-axis bug #1085
... fixed by
...... not considering Y-Axis values in the 0 to 4.993 minutes range
which are not shown for VAM anyway
... both in standard view and in compare view / intervals and date
ranges
... handle intervals below 4.993 minutes properly (since they are not
shown in CP VAM)
2014-11-16 12:58:39 +01:00
Keith Reynolds
bcc19c94ef In CriticalPowerWindow add a Percent of Best to the hover message for the current ride when not in "Percent of Best" mode. 2014-11-16 08:24:10 +00:00
Joern
230f028037 AthleteDirectory - Folder Structure Part 2 of 2 + Always create .JSON
... create folder structure for existing and new athletes
... upgrade existing athlete to new structure when opening / incl.
logging and error handling
... convert any "Downloaded" file to .JSON directly - store source file
in /downloads
... convert any "Imported" file to .JSON directly - store source file in
/imports
2014-11-02 19:55:01 +01:00
Joern
f1447d2664 AthleteDirectory - Folder Structure Part 1
... introduce new "home" Folder structure object representing the
previous flat-folder
... adjust relevant QDir home - access to use the sub-folder method of
the new object

Note: the new structure is not yet active ! - everything is written to
the main folder still

To Do:
... add upgrade procedure for existing folder content to merge to the
new folders
2014-10-25 19:08:27 +02:00
Damien
092c84090a CPPlot: Power zone shading for watts/kg 2014-09-09 22:42:52 +02:00
Damien
df81fdcc92 CPPlot: correct xBttom axis ticks 2014-09-09 22:29:31 +02:00
Damien
b440a2af9e CPPlot: Correct crash after switching between Veloclinic and Power plot 2014-09-04 07:31:11 +02:00
Damien
7d72213dfa CPPlot: Correct time for wprime 2014-09-03 23:06:52 +02:00
Damien
44d0a6c11d CPPlot: Add ride plot for veloclinic plot 2014-09-01 22:18:34 +02:00
Damien
75480a60ab CPPlot: Place shade mode labels for veloclinic plot 2014-09-01 21:54:32 +02:00
Damien
d862ff6acb CPPlot: Standard ScaleDraw (not time) for velocliniplot 2014-09-01 21:37:16 +02:00
Damien
87a886100b 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
d13dd55bc9 Unzoom fails on CP Plot
Fixes #972
2014-07-15 00:50:51 +01:00
Mark Liversedge
b78a04b401 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
a9720d6b36 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
3e62f8e139 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
b4da688395 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
ce4715c379 Antialias is now on BY DEFAULT 2014-06-23 10:03:20 +01:00
Mark Liversedge
9669e6f8cf Fix SEGV on CP export with no model 2014-06-18 19:16:43 +01:00
Mark Liversedge
e69176c5ae Add Endurance Index to CP overlay
.. for power and w/kg
2014-06-17 21:41:59 +01:00
Mark Liversedge
8bb09048e0 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
67fdb2164a 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
fd2d9a7875 Translation Enablement
... and nothing else
2014-06-13 20:45:04 +02:00
Mark Liversedge
086aa0b3c2 Fix tooltip for Compare Delta Percent 2014-06-02 17:41:55 +01:00
Mark Liversedge
f86f4e7ed2 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
fec1db913f Centile plot honour color config 2014-05-25 21:32:18 +01:00
Mark Liversedge
8cea9629d6 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
c3ca1d6d72 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
8360388e7a 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
3c36bbe481 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
5e95b3ebcd 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
ca71d880a6 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
ff01ed0b85 Compare mode CP plots model
.. so you can compare models for different date ranges
2014-05-21 18:49:58 +01:00
Mark Liversedge
cd4ce66de8 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
02f5cb89e0 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
3505adc686 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
7b4b024f63 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
ba5f8881a4 Fix CP heat age cosmetic glitch 2014-05-17 09:16:01 +01:00
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