Hi everyone,
to evaluate heat stress score, in activities I have a chart of this custom stream:
{
let TCT = 38.3;
let BT = 37.0;
let core_temperature = icu.streams.core_temperature;
let cumulativeSum = 0;
for (let i = 0; i < data.length; i++)
{
let CT = core_temperature[i];
cumulativeSum += ((CT-BT)**4/ (100 *(TCT-BT)**4));
data[i] = cumulativeSum;
}
}
where:
TCT = threshold core temperature
BT = base temperature
Now I’d like to have a custom activity field that show the total HSS value of the activity itself, i.e. the last HSS value I read at the very end of the HSS chart…
Can’t figure out how to do this, though…
Any hints? As you can imagine, I’m very bad at programming.
Thanks!!!
Riccardo