Commit Graph

9 Commits

Author SHA1 Message Date
Ale Martinez
0fe28abe5a Add Time and Percent in Zones I-II-III metrics for HR, Power and Pace
In total 18 new metrics are added and 6 new charts using them are
included in charts.xml (existing users needs to remove their local
copy in config/charts.xml to activate them, reset doesn't work since
it retrieves the server copy which is v3.5 yet.)

Fixes #2555
[publish binaries]
2021-03-18 21:07:10 -03:00
Ale Martinez
23049b4277 Changed Time in Zone counts to fix percentages aggregation
This solves the issue when activities not having all the data
channels available are aggregated.
Forces a metric recomputation to account for these changes.
2019-05-20 17:14:56 -03:00
Ale Martinez
9a0f291057 Added AggregateZero to Time in Zone Percentage metrics
So it aggregate properly in Metric Trends Charts, currently
when one of the rides to be aggregated has 0 percent in one of
the zones the aggregate is distorted and it can be higher than 100%
which is particularly notable when the bars are stacked.
This has been reported several times at the forum.
2019-05-16 22:59:43 -03:00
Ale Martinez
75146af6fe Added Time Recording and use it for Time in Zone Percentages
Fixes #2745 which requests this metric plus it allows to fix the issue with
Time in Zone Percentages which don't add to 100% nor aggregate properly
when there are gaps in recording, tipically due to pauses.
When there are no gaps Time Recording equals Duration and Time in Zone
Percentages don't change.
2019-05-14 20:50:19 -03:00
Mark Liversedge
87a1f81fdc RideMetric Taxonomy Updates
.. slight adjustment to the scheme (before working through
   303 different metrics)

.. added sport() which can return an OR'ed value of sports
   the metric is relevant for (e.g. Run|Bike) and added
   some shorthand values Triathlon == Run|Bike|Swim whilst
   any is 0xff (matches all).
2017-03-16 19:54:59 +00:00
Mark Liversedge
dd69877896 RideMetric Taxonomy
.. add classification and validity attributes to every
   ridemetric with a default of Unknown and None to get
   things started.

.. next step is to work through each and update based upon
   available evidence. This might be best performed in 2
   passes: first pass where criteria is beyond reasonable
   argument and is unlikely to be disputed, and a second
   pass where evidence has been identified.
2017-03-16 16:42:48 +00:00
Alejandro Martinez
d272ba405a Removed dangling references to BestIntervalDialog.h 2016-07-12 11:24:34 -03:00
Alejandro Martinez
b88b0bc3b9 Added Descriptions for Time and Percent of Time in Zone metrics 2016-03-12 10:48:46 -03:00
Mark Liversedge
4b5201c4c5 Restructure source directory
Introducing a directory structure to make it a bit less
daunting for new developers and perhaps even old hands.

The main folders all start with an upper character, so src
files are now located in;

* Core - Core data structures
* Gui - Main GUI elements
* Metrics - Models and Metrics
* FileIO - Device and File I/O
* Charts - All the chart types
* Cloud - Working with Web Resources
* Train - Anything Train View specific
* ANT - Our ANT+ Stack
* Resources - Images, Translations, Web etc

Apologies to anyone who needs to merge across this update.
2016-02-25 14:51:53 +00:00