applyEstimatedPowerToRecords
FitFileViewer - API Documentation v30.0.1
FitFileViewer - API Documentation / utils/data/processing/estimateCyclingPower / applyEstimatedPowerToRecords
Function: applyEstimatedPowerToRecords()
applyEstimatedPowerToRecords(
params: {recordMesgs:FitRecord[];sessionMesgs?: readonlyFitRecord[];settings:PowerEstimationSettings; }):PowerEstimationResult
Defined in: utils/data/processing/estimateCyclingPower.ts:45
Estimate power per record and attach it to each record as estimatedPower.
Parametersβ
paramsβ
Records, optional session metadata, and estimation settings.
recordMesgsβ
FitRecord[]
sessionMesgs?β
readonly FitRecord[]
settingsβ
Returnsβ
Estimated power values and whether they were applied.