Re: python lmfit.minimizer not working

2018-06-13 Thread dieter
Priya Singh writes: > Dear All, > > I am trying to fit a spectrum using a power law model. I am using > lmfit.minimizer. You are asking a question about a specific module ("lmfit") not part of the Python standard library. You might get better help from a different audience (one closer to "lmfit

python lmfit.minimizer not working

2018-06-13 Thread Priya Singh
Dear All, I am trying to fit a spectrum using a power law model. I am using lmfit.minimizer. But the problem is that the value of parameter I am getting is same as the initial value. Means minimizer is not working. Here is the part of my code: p = Parameters() p.add('b', value=10) p.add('x_0',