get default hr and power zones from config file

This commit is contained in:
Davide Scaini
2026-03-29 22:06:22 +02:00
parent 3fcc8bc089
commit 4537273de9
11 changed files with 224 additions and 16 deletions
+18
View File
@@ -30,3 +30,21 @@ classifier:
enabled: false # ML activity type classifier (requires scikit-learn extra)
incremental: true # skip files whose hash hasn't changed since last run
athlete:
max_hr: 190
ftp_w: 210
hr_zones: # 5-zone Coggan, % of max HR 190 bpm
- [0, 104] # Z1 recovery < 55%
- [104, 142] # Z2 endurance 5575%
- [142, 165] # Z3 tempo 7587%
- [165, 176] # Z4 threshold 8793%
- [176, 999] # Z5 VO2max > 93%
power_zones: # 7-zone Coggan, % of FTP 210 W
- [0, 115] # Z1 active recovery < 55%
- [115, 157] # Z2 endurance 5575%
- [157, 189] # Z3 tempo 7590%
- [189, 220] # Z4 threshold 90105%
- [220, 252] # Z5 VO2max 105120%
- [252, 315] # Z6 anaerobic 120150%
- [315, 9999] # Z7 neuromuscular > 150%