get_activity_intervals
Split a Rouvy activity into fixed time windows (5 min by default) to get per-interval power, %FTP, heart rate, cadence, speed, distance and climbing stats for analysis.
Instructions
Fixed-size splits of one Activity (every 5 min by default), from its per-second Activity file. For each split: start/end second, avg, NP and max power, avg power as %FTP, avg/max heart rate, avg cadence, avg speed, distance and climbing. %FTP uses the FTP from the Activity snapshot. A note says why any stat is left out.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| every_sec | No | Split length in seconds (at least 10). | |
| activity_id | Yes | An Activity id as returned by list_activities. |