04-26-2022 10:37 AM
I am trying to find the peak of the QRS complex in a heart beat using the Waveform Peak Detection VI, I am unclear on what the Width input actually does and how it effects the VI's output
I would greatly appreciate and advice or clarifications.
04-26-2022 12:28 PM
Did you check the help file?
"width specifies the number of consecutive data points to use in the quadratic least squares fit. The value should be no more than about 1/2 of the half-width of the peak/valley and can be much smaller (but > 2) for noise-free data. Large widths can reduce the apparent amplitude of peaks and shift the apparent location. For noisy data, this modification is not important because the noise obscures the actual peak."
04-26-2022 01:31 PM
I did check the the help file, but Im unsure whether the width refers to the number of data points assigned to a Peak or Trough or the actual span of a peak or trough, because when I use a number closer to the value of the span I get a more accurate result than if I assign a integer value.
and thank you for responding
04-26-2022 06:10 PM
Can you attach a file with some example data? Like, copy the waveform you get into a control on a new VI, mark that as the default data, and save it, then upload that?
Preferably as LabVIEW 2018 or earlier so I and more people who haven't migrated to newer versions yet can see it.