My favorites | Sign in
Project Logo
                
Show all Featured downloads:
pyminuit2-0.0.1.tar.gz
Feeds:
People details
Project owners:
  jpivarski, johann.cohentanugi
Project committers:
jan.strube

PyMinuit2

Minuit2 numerical function minimization in Python

Minuit

Minuit has been the standard package for minimizing general N-dimensional functions in high-energy physics since its introduction in 1972. It features a robust set of algorithms for optimizing the search, correcting mistakes, and measuring non-linear error bounds. It is the minimization engine used behind-the-scenes in most high-energy physics curve fitting applications.

Python interface

PyMinuit2 is an extension module for Python that passes low-level Minuit functionality to Python functions. Interaction and data exploration is more user-friendly, in the sense that the user is protected from segmentation faults and index errors, parameters are referenced by their names, even in correlation matrices, and Python exceptions can be passed from the objective function during the minimization process. This extension module also makes it easier to calculate Minos errors and contour curves at an arbitrary number of sigmas from the minimum, and features a new N-dimensional scanning utility.

PyMinuit versus PyMinuit2

There are two versions of Minuit, both of which are C++ re-writes of the original Fortran Minuit. The first of these, "SEAL-Minuit", is an independent software package that has all the functionality of the original Minuit, but is no longer maintained. The second, "Minuit2", is a part of the ROOT package and is actively being developed. There are correspondingly two versions of PyMinuit, which appeal to different users:

PyMinuit and PyMinuit2 present the same interface to the Python user, so the documentation on the PyMinuit site applies to PyMinuit2. See Minuit2Features for extra features specific to PyMinuit2.

Versions and system requirements

PyMinuit2 requires Python 2.4 or later and version of ROOT with Minuit2. It has only been tested on Linux.

In principle, it should compile and run on Mac OS X, and it might work on Windows. If you get PyMinuit2 working on one of these systems, please send me a instructions, so that I can post them for the benefit of other users.









Hosted by Google Code