Add CP Models for Running Power

- PDEstimate now has a run flag, Estimator has 2 passes: rides and runs
  MultiModel and WSModel are disabled for the same reason they were disabled
  in CP chart, and to lower the performance impact.
- Show CP Models Estimates for Running in RideSummary when the involved
  activities are all runs.
- DataFilter estimate function uses Bike or Run models based on activity type
- Metrics Trends charts Estimate allow Bike vs Run selection
This commit is contained in:
Ale Martinez
2019-04-14 20:15:24 -03:00
parent e1949c59f1
commit ff0b32989f
13 changed files with 71 additions and 21 deletions

View File

@@ -314,7 +314,7 @@ QVector<float> RideFileCache::meanMaxPowerFor(Context *context, QVector<float> &
if (item->dateTime.date() < from || item->dateTime.date() > to) continue; // not one we want
if (item->isRun && !wantruns) continue; // they don't want runs
if (item->isRun != wantruns) continue; // they don't want these
// get the power data
if (first == true) {