computeCalPerHour
computeCalPerHour(
avgPower):number
Defined in: console-sdk/src/units/index.ts:349
Rower/skier calories-per-hour from average power, with the firmware’s BMR
offset: calHr = (4 · watts · 3600) / 4184 + 300, floored. The +300 is the
basal-metabolic-rate baseline; the 4184/4 terms convert mechanical work to
kilocalories at the firmware’s assumed efficiency.
Parameters
Section titled “Parameters”avgPower
Section titled “avgPower”number
Average power in watts.
Returns
Section titled “Returns”number
Calories per hour (floored), or 0 for a zero power.
Example
Section titled “Example”computeCalPerHour(202); // 995