cbrnr / sleepecg

Sleep stage detection using ECG
BSD 3-Clause "New" or "Revised" License
96 stars 25 forks source link

Add function (method) to plot ECG record #115

Closed cbrnr closed 1 year ago

cbrnr commented 2 years ago

It would be nice if a given ECGRecord could be plotted, e.g. with a .plot() method. If the record contains an annotation field, these should also be plotted. In addition, it should be possible to plot custom markers (e.g. detected heartbeats), resulting in something like this: Figure_1

(green = annotations, red = custom markers, i.e. detected heartbeats)