[SOLVED] More easily identify all workouts with a corrected heart rate (ans: Custom Field)

I’m trying to look through historical workouts to see which have a corrected a heart rate, and what that raw heart rate data looked like. I don’t see an obvious way to do it, other than to click through each workout and look for the text saying that a heart rate over my maximum was corrected.

This is potentially easy to do server-side, and a bit more hacky to do client side. Would something like this be possible, and useful for others?

You could try custom activity fields.

See here:
https://forum.intervals.icu/t/computed-activity-fields/
and here:
https://forum.intervals.icu/t/server-side-data-model-for-scripts/

I’ve made a public version available called “Has HR Spike”

{
rawHR = icu.streams.heartrate;
fixedHR = icu.streams. fixed_heartrate;
rawMax=Math.max(...rawHR);
fixedMax=Math.max(...fixedHR);

console.log(rawMax)
console.log(typeof rawMax)
console.log(fixedMax)
console.log(typeof fixedMax)


rawMax !== fixedMax ? "Has Spike" : "No Spike";
}

I think that should work but don’t have time to verify right now

2 Likes

Thank you! That worked like a charm. I had no idea this was possible here; this site continues to make Strava look like a toy.

1 Like

Clipping heart rate is my biggest issue with Intervals.

I can set HRmax in other analytics and it won’t clip HR. @David @MedTechCD Sorry guys any answer you give does not pass my analytics test. Love love love Intervals but this is wrong.

Super, @Zach_Dykstra, closing this thread as solved request. :+1:

If you’d like to continue the no clipping discussion return to

Personally, I’m not sure I understand the issue. It’s either real data and thus you need to increase your max HR or it’s erroneous and thus should be clipped.

1 Like