Amyx
Amyx

Reputation: 17

Lmfit fit produces huge uncertainties

I am using the lmfit library in Python and I get huge uncertainties. I have noticed it happens when the best-fit parameter itself is very small. Do you know how the fitting uncertainties are evaluated?

Here I show an example of a Voigt fit result (Voigt is a convolution of a Gaussian and Lorentzian). The program suggests that the Lorentzian width (lwid8) is very small (so the profile should be just Gaussian, I suppose). The first column is the best-fit result and the second column is the error. [gaussian and Lorenzian width output errors]

gwid8:   0.06615227 +/- 0.02554561 (38.62%) (init = 0.1)

lwid8:   1.0736e-04 +/- 1.51371359 (1409918.22%) (init = 0.001)

Upvotes: 0

Views: 360

Answers (0)

Related Questions