Commit Graph

8830 Commits

Author SHA1 Message Date
Mark Liversedge
68c5ded23c Enable decay adjustment in Banister Helper
.. can refit to see affect of adjusting parameters.

.. doesn't "remember" them, need to think about what
   that should mean (config in chart, season or athlete?)

.. also made t1/t2 fixed in the fit process so we have
   fewer parameters and need less data to fit.
2019-01-13 15:52:24 +00:00
Mark Liversedge
9b9b6f13fe Banister Model Helper on LTM
.. added a banister helper like on the CP plot

.. you can't adjust T1 and T2 yet, thats coming
   in the next commit

.. also a few fixups related to submax filtering
   of performances and some wip regarding how
   the model fit works (windows, t1+t2 fixed etc).

.. Banister implementation is still under some
   development, testing and validation but is in
   good enough shape to try with your data.
2019-01-12 20:20:54 +00:00
Joern
25f13f4683 Re-Introduce connection to Withings
... remove Nokia from Screens
... access Withings APIs
2019-01-12 19:09:27 +01:00
Hennadiy (Gena) Verkh
5022dba8f3 Allow precise adjustment of the time slider with a keyboard. (#2990) 2019-01-11 14:36:25 +00:00
Mark Liversedge
9871d1e53f Banister Data Managed in Athlete
.. so we retrieve past ones and reuse rather than refresh
   and refit every time we plot it.
2019-01-11 12:45:26 +00:00
Mark Liversedge
a205e7bb73 LTM plot banister with gapped curves
.. we only have banister curves where there is data
   so if there are gaps between seasons we should not
   plot any data.

.. as a result also fixed bug that the qwt gapped
   curve would always plot first zero in a curve.
2019-01-10 18:34:30 +00:00
Mark Liversedge
5cc2e057c8 Fix Banister Windows Build
.. missing header.
2019-01-10 16:02:21 +00:00
Mark Liversedge
0fe714566a Banister Modeling Resources
.. references for the papers it is based upon

.. added a contributed spreadsheet implementation of Banister.
2019-01-10 15:10:11 +00:00
Mark Liversedge
2aa4779df9 Banister Modelling
.. Banister model fitting using LM

.. can plot Banister curves on trends plots;
   - Performance curve (NTE+PTE)
   - Predicted CP curve (Performance curve scaled)
   - Negative Training Effect
   - Positive Training Effect

.. the code is sub-optimal and needs to be refactored
   to cache and refresh less frequently (using the same
   pattern as PMC most likely).

.. the model fitting can fail and needs to be made a
   lot more robust, along with ensuring the samples
   we fit to are appropriate.
2019-01-10 14:55:25 +00:00
grauser
c9581079da Fit : Interval use total_elapsed_time if no time info
fix #2982
2019-01-08 23:00:41 +01:00
Mark Liversedge
971cd4df4b Banister Performances Update
.. filter out submax performances

.. plot performances on LTMplot;
   * tests - marked as TTEs by user
   * weekly performances - found by algorithm
   * submaximal performances - filtered out by algorithm

.. we now have the neccessary data to introduce the
   Banister NTE/PTE and Performance curves in the next commit.
2019-01-08 14:32:31 +00:00
Mark Liversedge
cdfff8f4ed LTMPlot/Tool add banister settings
.. just the chart config, will add curve data and fitting
   code in a later commit.
2019-01-06 17:50:43 +00:00
Mark Liversedge
ae3320d2ec Show performances on LTM plot
.. show weekly best performances (ready for banister curves)
.. show performance tests (also used by banister if present)
.. can toggle which ones to show.
2019-01-05 17:38:27 +00:00
Mark Liversedge
a89607e8b5 Weekly Best Performances for Banister IR
.. extracted when resolving model estimates

.. creates a weekly best performance but only looks for efforts
   between 3 and 20 minutes.
2019-01-04 17:07:18 +00:00
Mark Liversedge
efb1a648f6 CP MMP Filter improvement
.. use powerIndex to select points when t > 120s. This has resulted
   in a much higher hit rate at finding performance tests in MMP
   data (almost 99% of the time).
2019-01-04 13:27:28 +00:00
Mark Liversedge
46abc66484 Banister modeling - PowerIndex performance metric
.. As part of a series of commits to add Banister IR modeling
   this first one introduces a Power Index metric that can be
   used to normalise TTEs of a different duration to a single
   score.

.. This is so we can use performance tests of differing durations
   when fitting Banister model curves to estimate k1 and k2.

.. The average power for an interval/ride is compared directly
   with a power estimate for the same duration using the Morton
   3-parameter model and mean values derived using opendata (where
   CP=261, W'=15.5kJ and Pmax=1100w)

.. For the equivalence to be valid test must be in the 2-20 minute
   range when used in banister modeling, but the index value is
   valid as a comparison to the average athlete for all durations.
2019-01-04 12:31:57 +00:00
Alejandro Martinez
b128bee62d Merge pull request #2968 from riccioclista/python_console_print_expr
PythonConsole: Print expression value when executing simple statements
2019-01-02 12:42:19 -03:00
Hennadiy Verkh
807ea685d6 Added method decodePhysiologicalMetrics to decode garmin/firstbeat specific activity metrics
Added additional metrics to the metadata.xml
2019-01-01 22:05:20 +01:00
grauser
9bb0aebe46 Add test files for Firstbeat/Garmin session metrics Pull request #2986 2019-01-01 22:02:08 +01:00
grauser
49bc27b020 RideMap : Use user custom tiles 2018-12-31 17:46:07 +01:00
Ale Martinez
1ad52086e6 Updated French Translation
Contributed by Arnaud Leclere
2018-12-31 17:32:18 +01:00
Joern
d4afe27f4e Merge pull request #2985 from Joern-R/CCResize
Column Chooser Popup - Text Length
2018-12-31 11:41:29 +01:00
Joern
ef22b59064 Column Chooser Popup - Text Length
... determine widget size for button based on text length (since fixed sizes may not fit for translated texts).
2018-12-29 19:41:30 +01:00
Ale Martinez
679a9bd7c3 Allow to select .gz files on Import
Similar to .zip files
Fixes #2969
2018-12-19 11:58:06 -03:00
Mark Liversedge
61dc7f59f8 Move Google Map API key to chart settings
.. no need to clutter up general settings
2018-12-19 13:50:25 +00:00
Mark Liversedge
8299011181 Fix compile error rDir not found
.. R support is optional, so the reference to rDir
   in cut and paste code fails if R is not enabled.
2018-12-19 13:10:01 +00:00
Mikael Grønfeldt
7cf678307e Support for x-Trainer (http://www.x-trainer.dk) added.
Committer: Mikael Grønfeldt <mikael@gronfeldt.dk>

Signed-off-by: grauser <Damien.Grauser@gmail.com>
2018-12-18 22:01:29 +01:00
grauser
e91b4e998e Sporttracks.mobi : read laps
fix #2981
2018-12-18 21:39:00 +01:00
grauser
ad46bf9b32 FIT : Add debug logs 2018-12-17 23:52:20 +01:00
grauser
39e37073ad RideMapWindow : Add running markers 2018-12-17 23:52:20 +01:00
grauser
d1f255f73d RideMapWindow : Let user with Google API key use the Google Map 2018-12-17 23:52:13 +01:00
Michael Beaulieu
ca9b5b27bb RideMapWindow: 4/4 Display interval markers and draw AvgPwr color paths on OSM 2018-12-17 23:52:12 +01:00
grauser
4eca780a57 RideMapWindow : Remove the google option
Still to do restore the drawShadedRoute (color from powerzone)
2018-12-17 23:52:12 +01:00
Joern
cc22129ae6 Merge pull request #2980 from Joern-R/GroupBy
LTM Reveal Window
2018-12-17 17:07:24 +01:00
Joern
3633a1e73e LTM Reveal Window
- avoid "cut off" text for translated period strings
2018-12-16 15:48:05 +01:00
Ale Martinez
101b82597b Fixes R issue when Home is set on Linux
name was left uninitialized when Home is specified by the user
Reported at the forum.
2018-12-13 18:47:19 -03:00
Ale Martinez
feed0c7635 Save Zones files using UTF-8 for cross platform compatibility
Fixes #2978
2018-12-13 12:01:21 -03:00
Alejandro Martinez
914531edf7 Merge pull request #2979 from MaksVasilev/master
Update Russian translation
2018-12-13 11:37:46 -03:00
Maks Vasilev
f681597a32 Update Russian translation 2018-12-13 17:26:29 +03:00
Ale Martinez
f7d2431e81 Remove references to QwtPlot3d and kQOauth
They are not used anymore
2018-12-11 14:10:53 -03:00
Ale Martinez
7073fb0d09 CP Plot Tests honor sport settings
In Activities view we filter bests (and now tests) to match the
selected activity sport.
2018-12-04 15:49:47 -03:00
Mark Liversedge
a64c6f06d6 CP Plot Tests honor filter settings
.. when finding performance tests the filter settings for the
   chart need to be honored.
2018-12-02 10:12:15 +00:00
Antonius Riha
d817541708 PythonConsole: Print expr value when executing simple statements 2018-12-01 11:20:24 +01:00
Mark Liversedge
0b4d46666d Model CP and W' decay in Morton Model
.. add option to apply a decay factor to CP and W' when plotting
   the model curve in CP Plot.

.. since we always fit to observations <20mins the mostly submax
   points at longer durations in the general population do not
   impact the fit at all.

.. the decay factors for w' and cp have been fit to the results of:

   Effects of Two Hours of Heavy-Intensity Exercise on the Power-
Duration Relationship
   Clark IE, Vanhatalo A, Bailey SJ, Wylie LJ, Kirby BS, Wilkins BW,
Jones AM.
   https://europepmc.org/abstract/med/29521722
2018-11-30 15:56:52 +00:00
Ale Martinez
1a5034514c Fixes Measures FingerPrint to detect changes in decimals
Weight updates via UI involving only decimals were undetected and not saved
2018-11-29 17:00:26 -03:00
Mark Liversedge
ea5c07db0e CP Explainer Deck Updates
.. forgot to commit earlier in the year.
2018-11-27 15:13:32 +00:00
Ale Martinez
0c668c0d0b Fixed error message in Train Library when workouts cannot be copied
The existing message is misleading and it's a source of users
complains when they have the Library set to a read only folder.
Fixes #2945
2018-11-25 20:48:56 -03:00
Ale Martinez
aae62438d3 Changed Notes to Calendar Text in LTMPopup
It shows more context information than notes and allows user customization.
2018-11-19 21:50:31 -03:00
Ale Martinez
d51080ef42 LTM Charts - Changed default precision from 0 to 1 for table view
To match the default used in LTMPlot, useful to export measures s.t. Weight.
2018-11-19 16:30:13 -03:00
Ale Martinez
3f8446b9cf Travis-ci - Added qt59networkauth-no-lgpl to Linux before_install
Trying to solve CloudDb issue
2018-11-13 21:35:08 -03:00