Jump to content

Wavelet peak detection VI give inconsistent results


Recommended Posts

Posted

I'm using the WA Multiscale Peak Detection VI to do some peak detection. I've enclosed my VI that does this. On the block diagram I have to sets of data (far left) labeled "Works" and "Misses first peak". The data looks very similar, but as the labels imply, one finds the peaks correctly and the other misses the first very obvious peak. If I change the "Width" input to the VI down to 2 then it will work with the second set of data. Unfortunately then it detects too many peaks. Even so, with the data sets being so similar it seems it should detect the first peak on both sets of data. I'd really appreciate it if someone could run the VI and tell me what I'm missing.

Download File:post-2786-1220546637.vi

Thanks,

George

Posted

I don't know what your doing, but it seems to work OK when I tried it. I had to disconnect the inflectiondata type def to make it work, & added a boolean to select between the two data sets; here is my edited version to compare with.

Neville.

Posted

On my computer (windows XP) I get on both version (George's and Neville's) the same result.

To easily see the difference between the two actions connect the 'peak plot' output to an XY graph:

post-2399-1220562952.png?width=400

In this screenshot you can see the peaks found and the data. I suggest you sent this data to NI so they can examin.

Ton

  • 2 months later...
Posted

QUOTE (dong1 @ Nov 10 2008, 07:16 AM)

NI has told me that there's a problem with the Wavelet peak detection VI so I really wouldn't recommend using it. My VI was just an example that used NI's VI to illustrate the problem I was having.

George

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.