Muli peak fitting and batch fitting
sjr51
MPF_AutoMPFit()
I have a bunch of 1d waves that can be described by two gaussians. They are reasonably well spaced apart with some overlap. I'm trying to write a function to look at the relative distances between peaks (wave to wave). I figured the best way to automate this was to use MPF to find both peaks for all waves. However, the data is noisy and the auto peak fit finds other peaks in the noise. Is it possible to constrain MPF so that it will only look for two Gauss?
As usual apologies if this is covered elsewhere. I can see how to persuade MPF 2.0 to only find two peaks by altering smoothing but I'm not sure that this is a good solution and how this would work in a batch case. Any help or comments would be appreciated.
sjr51
For you the advantage of these modes is that you don't depend on the auto peak picker doing the right thing automatically. The auto peak picker is pretty good but it is based on heuristics that are decidedly fallible. With data sets like yours that have a good deal of regularity, you are better off not using it if you don't have to.
John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
April 22, 2015 at 08:50 am - Permalink
April 22, 2015 at 11:35 pm - Permalink