comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Peak detection
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Peak detection [message #85091] Tue, 02 July 2013 18:41 Go to next message
Watchthis_ is currently offline  Watchthis_
Messages: 2
Registered: July 2013
Junior Member
Hi

I'm trying to construct a very basic and simple algorithm that can search a large amount of data for peaks at a specific energy. Would anyone be kind enough to advise me on how I can approach this.
Re: Peak detection [message #85140 is a reply to message #85091] Tue, 09 July 2013 11:55 Go to previous message
Chip Helms is currently offline  Chip Helms
Messages: 24
Registered: November 2012
Junior Member
Hey, not sure if you found a solution yet or not. I assume you're dealing with something like a power spectrum where you have an array of the power at each frequency (or I suppose energy in your case) and you want to know if the peak occurs at a certain frequency, correct? (It's been awhile since I've dealt with fourier transforms, but I think the terminology I'm using is correct, heh.) If you are then you might try using the MAX function with the DIMENSION keyword and have it return the index of the maximum value. (If each spectrum is a row in an array, I think you'd use DIMENSION=1)
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: "OPENW: Error opening file. Unit: (...) Too many links" - What does this mean? (Possible I/O problem)
Next Topic: Fast way to collapse data cube with median

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:38:32 PDT 2025

Total time taken to generate the page: 0.00468 seconds