/kmpfit

Least Squares minimization package from Kapteyn

Primary LanguageCOtherNOASSERTION

#kmpfit least squares fitting.

Much more info can be found here. http://www.astro.rug.nl/software/kapteyn/kmpfittutorial.html#

Install instructions:

You will need to have numpy install, and matplotlib if you want to run the examples. Use the setup.py file to install the package.

python setup.py install

There are a couple of basic examples included

  • kmpfit/example1.py -- basic line fitting example
  • kmpfit/example2.py -- Fitting a gaussian peak with data that have error bars