11-23-2015 08:41 AM
PeakDetector function search an input array for peaks (or valleys) and returns 3 arrays
How are the peaks listed?
I mean: I think that every peak has the same position in all the 3 output arrays:
but how are the peaks listed?
Ordered by increasing peakLocations?
Ordered by increasing or decreasing peakAmplitudes?
12-01-2015 09:07 AM
Could someone help with this question, please?
12-01-2015 09:20 AM
Hi vix,
because of some limitations in the functionality (see here) I ended up with writing my own function... and as you can see from my linked post my tests date back six years, so I forgot the details you are asking for...
12-02-2015 12:41 AM
Hi Wolfgang,
looking at your post I see you've been using ThresholdPeakDetector() - I didn't know this function exists.
On the other side, I've been using PeakDetector()
I don't know if the two functions behave somehow differently or if CVI2010 SP1 fixed the bug you found, but until now I haven't find any problem with PeakDetector().
Anyway, thanks to your suggestion I'll look deeper to avoid potential problems