cresspahl: simple algorithm for 2D-Peakfinding
When it comes to analyzing data, a common task is to identify peaks in an x-y dataset. There are several ways to do that. Maybe the first idea that would come into one's mind is to look for zeros in the derivatives. This works fine for smooth theoretical curves but fails when noise is present (as it is certainly all kinds of experimental data).To get rid of noise you can apply a low-pass filter on your data, but in some cases this is not desired. A simple approach is to use an algorithm that can does
- find peak candidates that are above some user-defined threshold level
- find out for each candidate whether it is the local maximum of a user defined environment
- return the valid peaks
Read full article from cresspahl: simple algorithm for 2D-Peakfinding
No comments:
Post a Comment