I\'ve got a hole bunch of data (10,000 - 50,000 values for each series of measurements) and I\'m interested in automatically identifying local maxima/minima out of the densi
My favorite is pastecs::turnpoints . But you're correct that you'll have to do some subjective filtering to distinguish spiky noise from true peaks. One way to do this is to require either the raw or splined data to remain above some threshold for N consecutive values.