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: 182 # used to derive default HR zone display
# ftp_w: 280 # functional threshold power in watts
# hr_zones: # explicit bpm boundaries [[lo, hi], ...]
# - [0, 115] # Z1 recovery
# - [115, 137] # Z2 endurance
# - [137, 155] # Z3 tempo
# - [155, 169] # Z4 threshold
# - [169, 999] # Z5 VO2max
# power_zones: # explicit watt boundaries
# - [0, 168] # Z1 active recovery (< 55% FTP)
# - [168, 224] # Z2 endurance (5578%)
# - [224, 266] # Z3 tempo (7895%)
# - [266, 308] # Z4 threshold (95109%)
# - [308, 364] # Z5 VO2max (109130%)
# - [364, 420] # Z6 anaerobic (130150%)
# - [420, 9999] # Z7 neuromuscular (> 150%)