阅读背景:

用lmfit来计算x²和x²= 0。

来源:互联网 

I'm using lmfit to fit Raman data. I'm using 7 Gaussian peaks and a linear background (5 of these peaks are known, and two are unknown) I've included a weights array (inverse square of the stdev). When I include the weights - the fit visually looks much better and the plotted residuals also have less structure, however, the chi-squared and reduced chi-squared values are reported as 0. I'm not sure if I'm using the weighting value correctly, or perhaps not interpreting the results correctly. I've copied my code below. Thank you very much for any helpI'm using lmfit to fit Raman data. I'm using 7




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: