Example offline QRS detector usage


In [1]:
from QRSDetectorOffline import QRSDetectorOffline

ECG signal with low level of noise


In [2]:
qrs_detector = QRSDetectorOffline(ecg_data_path="ecg_data/ecg_data_1.csv", verbose=True,
                                  log_data=True, plot_data=True, show_plot=True)


qrs peaks indices
[ 194  390  581  768  955 1142 1329 1515 1701 1886 2070 2253 2434 2616]
noise peaks indices
[]

ECG signal with high level of noise


In [3]:
qrs_detector = QRSDetectorOffline(ecg_data_path="ecg_data/ecg_data_2.csv", verbose=True,
                                  log_data=True, plot_data=True, show_plot=True)


qrs peaks indices
[ 84 282 483 683 874]
noise peaks indices
[]

In [ ]: