Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re^2: Finding local maxima/minima in noisy, pediodic data

by Xilman (Hermit)
on Oct 14, 2009 at 08:17 UTC ( [id://801026]=note: print w/replies, xml ) Need Help??

in reply to Re: Finding local maxima/minima in noisy, pediodic data
in thread Finding local maxima/minima in noisy, pediodic data

This may sound heretical, but I suggest that Perl may be the wrong tool for the specific job you want doing. Great for collecting the data to feed to a better tool and great for interpreting and/or displaying that tool's result, but not especially good for doing the signal processing. You can write signal processing code in Perl, or any other Turing complete language, but sometimes it's better not to. I learned this lesson through experience ...

As others have said, you're asking a moderately hard question in DSP and, IMO, you should be using tools which have been designed specifically to perform efficient and robust DSP. There are a good number available, some which cost real money, some which are free (as in beer and/or speech) and some which are in between.

You don't reveal the nature of the platform you want to run this on, your budget (time and money, remember) or your views on free / non-free software so it's difficult to give specific advice and targeted use of Google is highly recommended. That said, consider Matlab/Octave for turn-key solutions. I've learned a lot from Numerical Recipes and have used their code in some of my projects.

Good luck!


  • Comment on Re^2: Finding local maxima/minima in noisy, pediodic data

Replies are listed 'Best First'.
Re^3: Finding local maxima/minima in noisy, pediodic data
by ambrus (Abbot) on Oct 14, 2009 at 10:11 UTC

    Hey, I did not recommend perl for the tool, I just gave this toy example in perl to explain what method to use.

      My apologies, and I wish to state publicly that it was my incompetence which led me to following up your post and not the original, which is where I'd intended to post it in the first place.

      That said, I stand by the contents of the posting, but it must be read in the appropriate context.


Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://801026]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (6)
As of 2024-04-17 15:28 GMT
Find Nodes?
    Voting Booth?

    No recent polls found