# ¶

iminuit is a Jupyter-friendly Python frontend to the MINUIT2 C++ library.

It can be used as a general robust function minimisation method, but is most commonly used for likelihood fits of models to data, and to get model parameter error estimates from likelihood profile analysis.

• Supported CPython versions: 3.5+
• Supported PyPy versions: 3.5, 3.6
• Supported platforms: Linux, OSX and Windows.

## In a nutshell¶

from iminuit import Minuit

def f(x, y, z):
return (x - 2) ** 2 + (y - 3) ** 2 + (z - 4) ** 2

m = Minuit(f)