Skip to main content

applyEstimatedPowerToRecords

FitFileViewer - API Documentation v29.8.0


FitFileViewer - API Documentation / utils/data/processing/estimateCyclingPower / applyEstimatedPowerToRecords

Function: applyEstimatedPowerToRecords()

applyEstimatedPowerToRecords(params: { recordMesgs: Record<string, unknown>[]; sessionMesgs?: Record<string, unknown>[]; settings: PowerEstimationSettings; }): PowerEstimationResult

Defined in: utils/data/processing/estimateCyclingPower.js:45

Estimate power (W) per record and attach it to each record as estimatedPower.

Parameters​

params​

recordMesgs​

Record<string, unknown>[]

sessionMesgs?​

Record<string, unknown>[]

settings​

PowerEstimationSettings

Returns​

PowerEstimationResult