lmfit Questions
2
Solved
I am trying to fit this function to some data:
But when I use my code
import numpy as np
from scipy.optimize import curve_fit
import matplotlib.pyplot as plt
def f(x, start, end):
res = np.empty...
Crossroad asked 16/5, 2018 at 12:49
2
Solved
I am trying to deconvolve complex gas chromatogram signals into individual gaussian signals. Here is an example, where the dotted line represents the signal I am trying to deconvolve.
I was able ...
Coxswain asked 2/3, 2019 at 20:15
1
I would like to fit ellipsometric data to complex model using LMFit. Two measured parameters, psi and delta, are variables in a complex function rho.
I could try with separating problem to real an...
Forth asked 2/5, 2014 at 8:59
1
Solved
I was adopting lmfit to do a curve fitting and use that fitted model to do prediction. However, the following code did not achieve what I want. Could you please help? Thanks.
import numpy as np
fr...
Shop asked 28/5, 2018 at 20:31
0
This post is related to my other one where I was told to use lmfit to fix my problem.
I installed lmfit in anaconda Prompt with conda install --channel "conda-forge" lmfit which worked.
But now w...
1
Solved
I'm trying to build a model using lmfit (link to docs) and I can't seems to find out why I keep getting a ValueError: The input contains nan values when I try to fit the model.
from lmfit import m...
2
Solved
I have experimental data :
xdata = [85,86,87,88,89,90,91,91.75,93,96,100,101,102,103,104,105,106,107.25,108.25,109,109.75,111,112,112.75,114,115.25,116,116.75,118,119.25,120,121,122,122.5,123.5,12...
Discourtesy asked 11/11, 2015 at 12:33
1
Solved
Is there a way to construct a an lmfit Model based on a function with an arbitrary number of dependent variables? For example:
from lmfit import Model
def my_poly(x, *params):
func = 0
for i in...
Chaunce asked 3/9, 2015 at 22:4
1
Solved
I have installed lmfit trough PIP
pip install lmfit==0.7.2
importing lmfit in ipython notebook seems to work.
That is, the import does not give any error messages and I can call a bunch of fun...
2
Solved
I would like to use the lmfit module to fit a function to a variable number of data-sets, with some shared and some individual parameters.
Here is an example generating Gaussian data, and fitting ...
Silsbye asked 2/12, 2013 at 22:33
1
© 2022 - 2024 — McMap. All rights reserved.