"NaN" returned for FWHM from Multipeak Fit 2
DC
I've frequently run into an issue that I'd like to understand better (and perhaps report as a bug later). This happens when using the Multipeak Fit 2 module with the ExpModGauss peak type. For peaks with significant exponential contributions, everything works fine. However, whenever the peaks are predominantly Gaussian (e.g. Exp Tau of ~0.08), the "Peak Results" command returns "NaN" for the FWHM value, even if the fit itself looks very good.
I didn't see anything in the manual about this, so I'm not sure if this is a fundamental mathematical limitation, or just a bug.
I can attach an example file if that would be useful.
Thanks for the help.
June 30, 2015 at 07:49 pm - Permalink
I've attached an example experiment file. I should point out that a small negative Tau value is appropriate for the peak shape (converges to about -0.092). I have to input a small negative value as a guess, otherwise the solver always keeps Tau positive and the fit isn't good.
Thanks!
July 2, 2015 at 09:10 am - Permalink
Just anticipating the next question: since it uses numerical methods (FindRoots) to compute the real amplitude and FWHM, it does not attempt to find an error bar for those values. It would require some sort of Monte Carlo method to figure it out, I think.
John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
July 2, 2015 at 11:12 am - Permalink
July 2, 2015 at 11:39 am - Permalink