Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Latest commit

 

History

History
16 lines (9 loc) · 535 Bytes

README.md

File metadata and controls

16 lines (9 loc) · 535 Bytes

ecg-extract

Extract and analyze ECG signal from apple ECG report.

ecg-extract.ipynb

Newer Apple watches include 'ECG' functionality, however there is currently no public API to access ECG data.

This notebook attempts to recreate the ECG data using the exported PDF of the ECG report.

  1. PDF was converted to png using preview. (File -> Export -> Format=PNG Resolution=150 pixel/inch)
  2. ECG sections of the report are extracted and stitched together.
  3. Waveform is pulled out using argmin
  4. Analysis of ECG using heartpy