MINUIT from Python - Fitting like a boss
Project description
iminuit is a Python interface to the MINUIT C++ package.
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.
Documentation: https://iminuit.readthedocs.io
Mailing list: https://groups.google.com/forum/#!forum/iminuit
License: MINUIT is LGPL and iminuit is MIT
Citation: https://github.com/iminuit/iminuit/blob/master/CITATION
iminuit
MINUIT from Python - Fitting like a boss
iminuit is a Python interface to the MINUIT C++ package.
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.
Documentation: http://iminuit.readthedocs.org/
Mailing list: https://groups.google.com/forum/#!forum/iminuit
License: MINUIT is LGPL and iminuit is MIT
Citation: https://github.com/iminuit/iminuit/blob/master/CITATION
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)
m.migrad() # run optimiser
print(m.values) # {'x': 2,'y': 3,'z': 4}
m.hesse() # run covariance estimator
print(m.errors) # {'x': 1,'y': 1,'z': 1}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file iminuit-1.3.tar.gz
.
File metadata
- Download URL: iminuit-1.3.tar.gz
- Upload date:
- Size: 657.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b96d526a17f491f0a5c87827099abd63bd1f312e275cc9f738f99e7e69f4a165 |
|
MD5 | 5df333d172943bfe2d427809d66fea05 |
|
BLAKE2b-256 | a2dd693ed9f7f581164f538ac60c4aeba262f1b78cdd4aaa96b6e4a74473a32f |