Hi Praveen,
> I'm new to LMFIT and I'm trying to fit my Raman data using Lorentzian and BWF fit. I'm not sure about the right parameters for my BWF fit q-value. If I chose a negative value (left side asymmetry) it fit well with the experimental data. But when you compare the height of the BWF peak, it is larger than the Lorentzian peak, which is not true from the experimental measurement. Is there any way to assess the good curve fit?
It looks like the isolated Lorentzian peak really is shorter than the Breit-Wigner-Fano peak. In the full model (and so probably also in the data), the BWF peak has a persistent tail in the region of the Lorentzian peak. There is also the quadratic background, though that looks about equal at the two peaks in the data.
For assessing the quality of the fit, a plot like you have made is an important step. The fit statistics in the report are also very useful, especially for comparing two different fits. Ideally, the absolute values of chi-square and reduced chi-square can be used as objective “Goodness of Fit measures”, but that requires scaling the misfit by the size of the uncertainty in the data.
But I think it is also very common in the physical sciences to be a little more informal and say that because there is some (but not too much) noise in your data, and because the fitted model matches the data at “about the noise level”, that this is a reasonably good fit. I would also say that: you get uncertainties estimated in the parameters, and they are not absurdly high, so that gives some confidence that the fit is not a terrible modeling of the data.
--Matt
--
You received this message because you are subscribed to the Google Groups "lmfit-py" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
lmfit-py+u...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lmfit-py/01198771-0b8b-4f71-b81a-0d638ecc744bn%40googlegroups.com.
Hi Matt,Thanks for the quick response. I really appreciate your help.But I'm still not sure about selecting the right q-value for BWF fit. Here is another example in which I used a positive q-value and you can see from the result that it estimated to the maximum value (and increase in reduced chi-square). I'm not sure about the reason behind this.
Is there any way to estimate the right q-value based on the asymmetry of the peak?