compare_power_streams
Compare two power meter streams from one ride or multiple rides to measure watt and percent offsets, per-band differences, drift, lag, and best efforts.
Instructions
Use to compare two power meters recorded on the same ride (watts vs secondary_power by default), on one ride or across several rides.
One ride (activity_id): offset in W and % (secondary - primary), per power band, in stable 30/60 s windows, drift over the ride quarters, lag, best efforts of each stream and the samples excluded as coasting, missing or outliers. Several rides (no activity_id, or activity_ids): the rides that carry the second stream (default 180 days to end_date, newest first, limit 10, max 20), each compared on its own and summarised per bike and power meter with median, between-ride SD and range. No calibration and no correction factor; sensors are named only from the file's device data. Read-only. Method: intervals://methods/power-meters (get_guide).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Several rides: at most this many, newest first, 1-20 | |
| primary | No | Stream type of the reference power source | watts |
| end_date | No | Several rides: last day YYYY-MM-DD; default today | |
| end_index | No | Sample index to stop before (exclusive; one ride only) | |
| secondary | No | Stream type of the compared power source | secondary_power |
| athlete_id | No | Default: the configured athlete | |
| start_date | No | Several rides: first day YYYY-MM-DD; default 179 days before end_date (180 days) | |
| activity_id | No | One ride, e.g. i123456789; omit (or give activity_ids) to compare several rides | |
| start_index | No | First sample index to compare (one ride only) | |
| activity_ids | No | Comma-separated activity ids to compare as several rides (duplicates ignored, cut to limit) | |
| detail_level | No | Several rides: compact = summary only; standard adds one line per ride; full adds power bins and device data per ride | standard |
| output_format | No | json = machine-readable, all fields | text |