Thanks for following up. Thought about it a bit and realized the reason I don’t see the second power source is because the file is coming from Strava, not directly from TP Virtual. I just manually uploaded the file from TP Virtual and the second power source is there. So now I understand what is going on and how this works.
BTW, from the indievelo days they recommended a website called dualrecording.com which is great for comparing the output from two different power sources. That is what I have used in the past for my indievelo/TP Virtual rides since it is interesting to see how closely the two power sources correlate.
You can choose to compare 2 power streams from one single FIT file or from multiple FIT files. Align them and analyse.
But given the recent addition in Intervals and the plans that David has to make in-depth analysis of the second stream possible, it will not have much use anymore for FIT files with multiple power streams.
I can’t find the field Avg Power2 (and other related) and also can’t get the Custom field to work since it now is a native stream. Or I’m doing it wrong…I’d like to get an idea of the avg difference.
Following script works fine:
{
let temp = streams.get(“secondary_power”).data
let tot = 0
let c = 0
for (let i = interval.start_index; i < interval.end_index; i++) {
let v = temp[i]
if (v) {
tot += v
++c
}
}