It defines running as anything over a 60 cadence, and walking as anything over a 10 cadence. It will also ignore any data during the warmup and cooldown periods defined for your running activity.
The running time calculated is usually a little lower than the one shown by Garmin - not sure why but its usually <1m of difference.
You will be able to do that when I finally find time to complete support for mapping custom fields from records to activity traces. You will need to create a trace for it and then a custom activity/interval field to calculate the average.
Dear all,
I am trying to add an interval field which should be apparently pretty simple:
(Work above FTP/Total Work*100) > its simply the percentage of W>FTP to the Wtot for that interval.
I have found the “joules_above_ftp Integer” on the script page, but I must confess, my scripting-skills are pretty poor
Any help is much appreciated.
@david:
brief question to your “All Work >FTP” field:
it is described as “…This measure includes the below the line portion when operating at or above FTP.”
Does this mean that power AT FTP is also accounted for (i.e. FTP 250W > the script also calculates when working at 250W and not starts at 251W as the Work>FTP would do?).
And what means “…below the line portion…”? Does it also calculate 249 or 248, which is, by definition below FTP. Is there any trade-off in the script (e.g. if power is below FTP for xxx seconds > then calculate > else not).
Sorry for my simplified coding language, hope the question is clear enough.
hi again, sorry a little too late yesterday evening to think clear
Soon became clear afterwards that “All Work>FTP” calculate ALL power*t, whereas “W>FTP” use the typical Wbal calculation where W=(P-FTP)*t.
The former is obviously much higher.
This is awesome. Is there a lookup table somewhere for variables (or manual for scripting)? Was able to learn a thing or two from existing scripts, but still struggling. Looking to call ‘Fitness’, ‘FTP’ and ‘Weight’.
Edit: I found the parameters and got the script up and running. It 99% there, but still have one small issue.
The parameter activity.icu_ftp returns either the indoor or outdoor FTP depending on the activity. Would prefer to always call the outdoor FTP, is there a parameter for that?