@pond-ts/fit API Reference
    Preparing search index...

    Function recoveryFromReadings

    • A recovery from heart rate readings around the end of an activity: readings are [time, bpm] on any clock, endTime is the stop on the same clock. The last reading up to 30 seconds before the stop is the heart rate at the stop; readings up to 5 minutes after are the line (seconds rounded, at least 1). Values outside 25–250 bpm are left out. Undefined when there is no reading after the stop.

      Parameters

      • readings: readonly (readonly [number, number])[]
      • endTime: number

      Returns HeartRateRecovery | undefined