Sports Lib API - v23.12.1
    Preparing search index...

    Interface TrainingStressScoreCalibration

    Independent consumer calibration, used only when original-file calibration is unavailable. These inputs never become recorded activity statistics or replace imported TSS.

    interface TrainingStressScoreCalibration {
        bodyMassKg?: number;
        functionalThresholdPower?: number;
        hrAlgorithm?: TrainingStressScoreHrAlgorithm;
        lactateThresholdHR?: number;
        maxHeartRate?: number;
        restingHeartRate?: number;
        thresholdRunningSpeed?: number;
        thresholdSwimSpeed?: number;
    }
    Index
    bodyMassKg?: number

    Body mass in kilograms, used only when the activity has no valid file weight.

    functionalThresholdPower?: number

    Independent FTP in watts.

    Omit to retain existing file-first/threshold-only behavior, even when consumer rest/max are supplied.

    lactateThresholdHR?: number

    Independent lactate-threshold heart rate in bpm; uses the threshold-HR estimate.

    maxHeartRate?: number

    Independent maximum HR in bpm; never the activity's peak.

    restingHeartRate?: number

    Independent resting HR in bpm. Used for Banister only with an explicit formula choice and a complete tuple.

    thresholdRunningSpeed?: number

    Independent running threshold speed in metres/second, never workout-average pace.

    thresholdSwimSpeed?: number

    Independent CSS in metres/second.