02-12-2016 07:23 AM
Hello,
I would like to ask you about help with my project. The goal is "detect peak in ECG signal" and get its position. All I need is possition for navigation and synchronization in other signal (invasive pressure).
What I alredy got:
1D array full of ECG values (about 18s interval; 26 beats)
I´ve alredy preanalized ECG (baseline vandering etc...) and you can see it in attachements (ecg.png)
My basic peak detector based on "threshold" works fine, but not for every ECG signal - it must be positive peak, no other similar peaks (T wave etc).
So I really need to "prepare" the ecg better for peak detection. I´ve tried derivation (derivation.png), hilbert window (hilbert.png) but all of these "transformations" ale dependable on ECG amplitude, positivity/negativiy etc.
Could you please help me solve this?
Thank you very much
02-12-2016 07:42 AM
02-12-2016
08:01 AM
- last edited on
04-16-2025
08:50 AM
by
Content Cleaner
02-12-2016 08:13 AM
02-12-2016 08:49 AM
I tried biomedical toolbox, but
a) its free, but you need advanced signal processing toolbox and its not free
b) ecg extraction.vi doesn´t work for me 😕 still got the same error message about sampling frequency...
02-12-2016 12:54 PM
honestly I do not test this code because i do not have ecg signal also i know it is not right way to do but I think it will be work for you
test it and tell me the result
02-13-2016 12:42 AM
Thank you for your VI, but I´m afraid I cant manage to make it.
I already got 2 while loops in my program and I do not know how to figure data transfer "array with ecg" to your while loop 😕
02-13-2016 12:47 AM
02-13-2016 01:07 AM
Here is ecg channel 1 in lvm file. Is it ok for you?
I tried put the while structure into it, but the program remains stucked 😕
Thank you for your help
02-13-2016 01:17 PM
I try to make some code i think it work just try to develop it
you could see repeatable pattern in algorithm it show you can use it to find pick just develop it