mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 16:39:57 +00:00
Polarised Adjust Z2 to 85-100% of CP
.. seems to be a consensus.
This commit is contained in:
@@ -934,10 +934,9 @@ RideFileCache::computeDistribution(QVector<float> &array, RideFile::SeriesType s
|
||||
|
||||
// CP zones :- moderate(<Z2), heavy (<CP and >Z2), severe (>CP)
|
||||
if (series == RideFile::watts && zoneRange != -1 && CP) {
|
||||
int zone = context->athlete->zones()->whichZone(zoneRange, dp->value(series));
|
||||
if (dp->value(series) < 1) // moderate zero watts
|
||||
wattsCPTimeInZone[0] += ride->recIntSecs();
|
||||
if (zone < 2) // moderate
|
||||
if (dp->value(series) < (CP*0.85f)) // moderate
|
||||
wattsCPTimeInZone[1] += ride->recIntSecs();
|
||||
else if (dp->value(series) < CP) // heavy
|
||||
wattsCPTimeInZone[2] += ride->recIntSecs();
|
||||
|
||||
Reference in New Issue
Block a user