Commit Graph

8805 Commits

Author SHA1 Message Date
Pascal Obry
04b6bab3e5 Minor typo fixes in comment. 2019-01-27 10:25:21 +01:00
Pascal Obry
c0cf875f1b Minor typo fix. 2019-01-27 10:25:21 +01:00
grauser
80e99d1159 Fit : Be sure only on cad point used 2019-01-27 10:18:48 +01:00
grauser
3b33e65a6d translations : lupdate and update french translation 2019-01-27 10:15:32 +01:00
Hennadiy Verkh
867e86e185 Set the type of activity to Ride, Run or Swim, instead of always Ride.
If exporting a Run, use rcad instead of cad
Lrbalance was never exported - fixed it.
2019-01-27 10:13:41 +01:00
Ale Martinez
4886a8dee1 Force BikeScore to zero for runs and swims
Even when it is considered not relevant for runs and swims the metric
code computes the value if power data is present which may produce
unwanted results as reported at the users forum.
2019-01-26 20:47:09 -03:00
Ale Martinez
e8fe5906c8 Upgrade to VLC 2.2.8 for Travis-ci Linux builds 2019-01-21 14:11:07 -03:00
Ale Martinez
046840513f Upgrade Qt to 5.9.7 for Travis-ci Linux builds 2019-01-20 20:16:00 -03:00
Alejandro Martinez
543c4a6dab Merge pull request #3004 from probonopd/patch-1
Add "Categories=Science;Sports;" on the script used by Travis-ci
2019-01-19 20:28:43 -03:00
probonopd
021bbeb2fa Add "Categories=Science;Sports;" here, too
https://github.com/GoldenCheetah/GoldenCheetah/pull/3003 reloaded
2019-01-19 21:50:50 +00:00
Alejandro Martinez
993eec8946 Merge pull request #3003 from probonopd/patch-1
Add XDG categories
2019-01-19 15:14:03 -03:00
probonopd
fa4ce91b80 Add XDG categories
Sports is not a standalone category as per https://standards.freedesktop.org/menu-spec/latest/apas02.html
2019-01-19 11:38:22 +00:00
Ale Martinez
b5c9651357 Fixed Linux CI upload
linuxdeployqt changed the output name
2019-01-18 19:17:11 -03:00
Mark Liversedge
60dbc5d2e6 DEVELOPMENT BUILD 1901
.. markup a new development build.
v3.5-DEV1901
2019-01-18 17:07:48 +00:00
Joern
b374ceb4dc Merge pull request #3000 from Joern-R/DE
Update Translation DE
2019-01-17 20:15:12 +01:00
Joern
5105669402 Merge pull request #3001 from Joern-R/FixCI
Fix Windows CI
2019-01-17 20:14:47 +01:00
Joern
dff632f7fd Fix Windows CI
... in the WinCI Configuration the Constants are not referenced through other includes
2019-01-17 19:23:49 +01:00
Joern
1042f0f5b8 Update Translation DE 2019-01-17 18:27:29 +01:00
Mark Liversedge
89068ede1e Banister datafilter
.. banister(metric, nte|pte|perf|cp)

   so you can filter rides where predicted cp is over
   300 with "banister(BikeScore, cp) > 300".

.. of course the real value is being able to access
   banister data in metrics and formulas.
2019-01-16 10:41:13 +00:00
Mark Liversedge
5a66c1342a Banister fixups
.. don't show helper in data table or compare mode.

.. always extend out banister date range to at least
   a year from the current date. To make sure the
   decay is calculated well into the future.
2019-01-15 16:12:25 +00:00
Mark Liversedge
fb83864f83 Banister Windows Contiguous
.. so we compute decay on the curves in periods between
   seasons and in the future.
2019-01-15 07:43:58 +00:00
Mark Liversedge
1148e3aa69 Banister fitting windows
.. split if no gaps in seasons and combine if seasons
   are too short.

.. this way we get fairly stable fits (2yr window size)
   but also get to see parameters reflect aging, so
   p0 declines and k1/k2 fit better.

.. still need to think how t1/t2 should adjust...
2019-01-14 10:46:54 +00:00
grauser
05a8c49053 FitRide : Correct doubled interval duration 2019-01-13 22:27:35 +01:00
grauser
1841faa596 Add media folder 2019-01-13 21:35:32 +01:00
Joern
a2fe09a65e Merge pull request #2997 from Joern-R/WithingsAgain
Re-Introduce connection to Withings
2019-01-13 19:49:11 +01:00
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