02-17-2016 05:27 PM
You have us all thoroughly confused about what you have actually tried and what is or is not working for you. Please post your VI along with data and tell us what does not work as you expect it to.
Lynn
02-17-2016 07:26 PM - edited 02-17-2016 07:26 PM
okay the problem is at amplitue.png the max amplitude and max value you ask me to add in i did but it did not work out.
02-17-2016 07:27 PM
run play and put in this too
02-17-2016 09:04 PM
02-17-2016 11:29 PM
so how can i set the thresh hold ? manually type in or can i make it as permanent
If is able to make it permanent to read 30% of the max of any file of ECG i would willing to learn that too
02-18-2016 09:45 AM
Automatically analyzing ECG waveforms is very difficult in general. The is because of the wide variation in signal amplitudes, noise, motion artifact, ectopic beats, and other factors. Your ECG.tdms signal contains what appears to be a signficant respiration artifact with a period of about 4 seconds. That narrows the range of possible thresholds by about 50%. But an experienced user can easily select a threshold of about 0.8 simply by looking at the graph. The human eye-brain combination is very good at pattern analysis.
The noise at the peaks of the signals (before the denoising) forces readjustment of the width parameter. I do not heve the wavelet denoising VI. So I am working only with the raw data. I could only get it to work with width = 9. Any other value resulted in missed or extra peaks. A different set of data might require another value. This is much harder to evaluate, althoug, again the human operator can count the number of heartbeats fairly easily to see if the program gets it right.
I recommend manual entry of the threshold and width parameters until you have much more experience with both LabVIEW and ECG analysis.
Lynn
02-18-2016 06:34 PM
yes that what i think so too the only way was using threshold with -0.8 depend on the max amplitude of that file . thank you so much for helping me and sorry that i make a mess.
02-18-2016 09:42 PM
for my last answer
this vi select top x% value peaks and also try to use with that is larger than noise
I use 40 % of top peaks and it work
I hope this vi and other friend help could help you
to find your solution
02-19-2016 02:00 AM
yes it does . thanks hateF for helping me too 🙂
04-15-2021 10:07 PM
Sir, even I am working on the same topic. Trying to identify the peaks in ECG signal. But i am failing. Can u plz share me your code for reference sir?