carp_polar_package library

A CARP Mobile Sensing sampling package for collecting data from the Polar H10, H9, and Polar Verity Sense optical heart rate sensors as follows.

H10 Heart rate sensor

  • Heart rate as beats per minute. RR Interval in ms and 1/1024 format.
  • Electrocardiography (ECG) data in µV with sample rate 130Hz. Default epoch for timestamp is 1.1.2000.
  • Accelerometer data with sample rates of 25Hz, 50Hz, 100Hz and 200Hz and range of 2G, 4G and 8G. Axis specific acceleration data in mG. Default epoch for timestamp is 1.1.2000
  • Start and stop of internal recording and request for internal recording status. Recording supports RR, HR with one second sample time or HR with five second sample time.

Polar Verity Sense optical heart rate sensor

  • Heart rate (HR) as beats per minute.
  • Photoplethysmograpy (PPG) values with a sampling rate of 55Hz (see Polar SDK issue #202).
  • PP interval (milliseconds) representing cardiac pulse-to-pulse interval extracted from PPG signal.
  • Accelerometer data with sample rate of 52Hz and range of 8G. Axis specific acceleration data in mG.
  • Gyroscope data with sample rate of 52Hz and ranges of 250dps, 500dps, 1000dps and 2000dps. Axis specific gyroscope data in dps.
  • Magnetometer data with sample rates of 10Hz, 20Hz, 50HZ and 100Hz and range of +/-50 Gauss. Axis specific magnetometer data in Gauss.

H9 Heart rate sensor

  • Heart rate as beats per minute. RR Interval in ms and 1/1024 format.
  • Heart rate broadcast.

This package uses the polar Flutter plugin, which again builds upon the official Polar SDK. Please consult the Polar technical documentation on the details on how to interpret the collected data.

Classes

PolarAccelerometer
Polar accelerometer data.
PolarAccelerometerProbe
Collects accelerometer data from the Polar device.
PolarAccelerometerSample
Polar accelerometer sample
PolarDevice
A DeviceConfiguration for a Polar device used in a StudyProtocol.
PolarDeviceManager
A Polar DeviceManager.
PolarECG
Polar ECG data.
PolarECGProbe
Collects ECG data from the Polar device.
PolarECGSample
Polar ECG sample
PolarGyroscope
Polar gyroscope data.
PolarGyroscopeProbe
Collects gyroscope data from the Polar device.
PolarGyroscopeSample
Polar gyroscope sample
PolarHR
Polar heart rate (HR).
PolarHRProbe
Collects HR data from the Polar device.
PolarHRSample
Polar heart rate (HR) sample
PolarMagnetometer
Polar magnetometer data.
PolarMagnetometerProbe
Collects magnetometer data from the Polar device.
PolarMagnetometerSample
Polar magnetometer sample
PolarPPG
Polar optical heart rate (OHR) photoplethysmograpy (PPG) data.
PolarPPGProbe
Collects PPG data from the Polar device.
PolarPPGSample
Polar PPG (Photoplethysmography) sample
PolarPPI
Polar PP interval (PPI) in milliseconds. Represents cardiac pulse-to-pulse interval extracted from PPG signal.
PolarPPIProbe
Collects PPI data from the Polar device.
PolarPPISample
Polar optical heart rate (OHR) pulse-to-pulse interval (PPI) sample.
PolarSample
Base class for all Polar samples.
PolarSamples<T>
PolarSamplingPackage
The Polar sampling package supporting the following measures (depending on the type of Polar device used):

Enums

PolarDeviceType
Enumeration of supported Polar devices.