Skip to content

Latest commit

 

History

History
19 lines (10 loc) · 509 Bytes

README.md

File metadata and controls

19 lines (10 loc) · 509 Bytes

#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