Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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

by Xilman (Friar)
on Oct 14, 2009 at 08:17 UTC ( #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!

Paul

  • 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.

      Paul

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (2)
As of 2020-05-25 02:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (143 votes). Check out past polls.

    Notices?