wfdb-python icon indicating copy to clipboard operation
wfdb-python copied to clipboard

qrs detection learning parameters, 'Failed to find * beats during learning'

Open botond465 opened this issue 3 years ago • 0 comments

I am having problems with the xqrs class. I have to work with 1000 Hz real ecg signals.

I would like to know why can't the qrs detection learn initial signal parameters.

In my linked jupyter notebook (had to clear plot outputs of size problems), the function fails to learn on a generated perfect 1000 Hz signal and the interpolated 360 Hz version of it, yet the learning works on the interpolated 360 Hz version of the noisy signal but fails on the 1000 Hz version with wrong output.

When I tried to figure it out in the source code, it seemed like when the finding of beats happen, the ricker wavelet gets compared to wrong sample sized signal, so the wavelet might not be scaled up well. ( I might be completly wrong here)

Thanks for any help!

my representation of the issue: MWE notebook data for the example: clear ecg data noisy ecg data

botond465 avatar Jun 08 '22 12:06 botond465