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
Found it. Curve_fit from optimize in scipy
Take a look at scipy.optimize.curve_fit:
scipy.optimize.curve_fit(f, xdata, ydata, p0=None, sigma=None, **kw) Use non-linear least squares to fit a function, f, to data.
scipy.optimize.curve_fit(f, xdata, ydata, p0=None, sigma=None, **kw)
Use non-linear least squares to fit a function, f, to data.