I'm trying to fit some data and stuff, I know there is a simple command to do this with python/numpy/matplotlib, but I can't find it. I think it is something like
popt,popc = numpy.curvefit(f,x)
where popt
is the paramters of f
, popc
is the fit quality and f
is a predefined function of f. Does any of you know it?