jacdac.heart_rate

Submodules

Package Contents

Classes

HeartRateClient

A sensor approximating the heart rate.

class jacdac.heart_rate.HeartRateClient(bus: jacdac.bus.Bus, role: str, *, missing_heart_rate_value: float | None = None)

Bases: jacdac.bus.SensorClient

A sensor approximating the heart rate.
  • Jacdac is NOT suitable for medical devices and should NOT be used in any kind of device to diagnose or treat any medical conditions.

Implements a client for the Heart Rate service.

property heart_rate: float | None

The estimated heart rate., _: bpm

property heart_rate_error: float | None

(Optional) The estimated error on the reported sensor data., _: bpm

property variant: jacdac.heart_rate.constants.HeartRateVariant | None

(Optional) The type of physical sensor,