Jupyter-friendly Python frontend for MINUIT2 in C++
Project description
iminuit is a Jupyter-friendly Python interface for the Minuit2 C++ library maintained by CERN’s ROOT team.
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.6+
Supported PyPy versions: 3.6
Supported platforms: Linux, OSX and Windows.
Documentation: http://iminuit.readthedocs.org
License: MINUIT2 is LGPL and iminuit is MIT
Citation: https://doi.org/10.5281/zenodo.3949207
In a nutshell
from iminuit import Minuit
def fcn(x, y, z):
return (x - 2) ** 2 + (y - 3) ** 2 + (z - 4) ** 2
fcn.errordef = Minuit.LEAST_SQUARES
m = Minuit(fcn, x=0, y=0, z=0)
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
Versions
The current 2.x series has introduced breaking interfaces changes with respect to the 1.x series.
All interface changes are documented in the changelog with recommendations how to upgrade. To keep existing scripts running, pin your major iminuit version to <2, i.e. pip install 'iminuit<2' installs the 1.x series.
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
Built Distributions
File details
Details for the file iminuit-2.2.1.tar.gz
.
File metadata
- Download URL: iminuit-2.2.1.tar.gz
- Upload date:
- Size: 371.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46ce84774c6185fc9da0521bf5ac32a5214e7b9d0efa30f5ab387f7e168b949a |
|
MD5 | ba01f78b8733b913f0537eae86d69207 |
|
BLAKE2b-256 | 0fbf2f320d44428a86b348c0f8e12e678ea68184e7884b9caee29667e92e2aec |
File details
Details for the file iminuit-2.2.1-cp39-cp39-win_amd64.whl
.
File metadata
- Download URL: iminuit-2.2.1-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 283.0 kB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70bef9773c3e85ebc195f24f1c99afcfd36007e4d14bf88902dafe92ffae6ae5 |
|
MD5 | 51cf06d11a26597017458a34092f5dab |
|
BLAKE2b-256 | 965aabc4e1416457a97e31bbe640f5f4dd84681a733e2729e3f68ef03c516292 |
File details
Details for the file iminuit-2.2.1-cp39-cp39-win32.whl
.
File metadata
- Download URL: iminuit-2.2.1-cp39-cp39-win32.whl
- Upload date:
- Size: 253.5 kB
- Tags: CPython 3.9, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e62cd3d418a1e715964f9a174a5893109b0e09ccee0ae0b18959b1610131cb51 |
|
MD5 | 03e2c4688fc5598572c17a33afb55e13 |
|
BLAKE2b-256 | da1ae617fd1903fb65eff603820f32b9e1db838b93cda27035258bf3f6f91686 |
File details
Details for the file iminuit-2.2.1-cp39-cp39-manylinux2010_x86_64.whl
.
File metadata
- Download URL: iminuit-2.2.1-cp39-cp39-manylinux2010_x86_64.whl
- Upload date:
- Size: 313.0 kB
- Tags: CPython 3.9, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8be5b0d6bad15d8c6037da0550a07abfb810ed34aac9b4e63fc755c61efaff4c |
|
MD5 | a5e919a4f0e8b0bc756a2a2bdef63cbd |
|
BLAKE2b-256 | e8fedf8de637c65d56efc6db99f0df9806c4137865469df06e1c26e9625cb812 |
File details
Details for the file iminuit-2.2.1-cp39-cp39-manylinux2010_i686.whl
.
File metadata
- Download URL: iminuit-2.2.1-cp39-cp39-manylinux2010_i686.whl
- Upload date:
- Size: 323.6 kB
- Tags: CPython 3.9, manylinux: glibc 2.12+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 916a31860b7f6ddc2b81b132f4966e2dad13e77e3d584c0ae4f00ae0186c179b |
|
MD5 | 12fcbce4190da26aa02ee831777e8c4b |
|
BLAKE2b-256 | fd51ae88e4f176321411f95e391e0cda7e9c1d50a4e6721578a4bf98796e70dd |
File details
Details for the file iminuit-2.2.1-cp39-cp39-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: iminuit-2.2.1-cp39-cp39-macosx_10_9_x86_64.whl
- Upload date:
- Size: 322.3 kB
- Tags: CPython 3.9, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48f1b243d4ec2a939dbc1f749fe8c9dc198797c231e1f08e0c6d0d7f8e4bf8cf |
|
MD5 | 24999a191057529879392cb006be651d |
|
BLAKE2b-256 | a6b3401c7b45ff2d599b6f4ad6780ad46e13f453efa50cba1dfac57684239032 |
File details
Details for the file iminuit-2.2.1-cp38-cp38-win_amd64.whl
.
File metadata
- Download URL: iminuit-2.2.1-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 282.9 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5fcffbf8ed7329627d7421528b6affbf1e3e10834df8200d6d28321f4df62a1 |
|
MD5 | 67b9b7b1c414a43cfb1525945ad7c098 |
|
BLAKE2b-256 | 9550b30dc4c45947606b48a8ea5f2886a0de6a6baee9b4242492e3ac32f998b0 |
File details
Details for the file iminuit-2.2.1-cp38-cp38-win32.whl
.
File metadata
- Download URL: iminuit-2.2.1-cp38-cp38-win32.whl
- Upload date:
- Size: 253.5 kB
- Tags: CPython 3.8, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54daa5ee791f779b68311d9255807ba77b764135478e3fbd2d0f5b6a215016e9 |
|
MD5 | f8104f35356be2db6b150223e1fa6ad0 |
|
BLAKE2b-256 | 37eed9ca03c568240979a52693b5f25d1fed13306a8d10b610feb802ca9ea033 |
File details
Details for the file iminuit-2.2.1-cp38-cp38-manylinux2010_x86_64.whl
.
File metadata
- Download URL: iminuit-2.2.1-cp38-cp38-manylinux2010_x86_64.whl
- Upload date:
- Size: 313.2 kB
- Tags: CPython 3.8, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab1650d74603cce787dd31a445706ecd3b2e8a21cd89fb960e0b4e1b416c0245 |
|
MD5 | 395c86da7c0253415ab906389d5cbb16 |
|
BLAKE2b-256 | 214b816496ca69b23bbc58d87da47704e48252c49cc574d0e88ddbe05c18c2e4 |
File details
Details for the file iminuit-2.2.1-cp38-cp38-manylinux2010_i686.whl
.
File metadata
- Download URL: iminuit-2.2.1-cp38-cp38-manylinux2010_i686.whl
- Upload date:
- Size: 323.4 kB
- Tags: CPython 3.8, manylinux: glibc 2.12+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c71df0df90cb213bb6dc50969424ddf30e1eac1237264f232cea088b437e9f30 |
|
MD5 | abc3d0cdbeaf318aef0e5cf04ad08437 |
|
BLAKE2b-256 | 8ccc9743c502cc98cd4c327256a8be7af558456236f65293bb48c811a22437f4 |
File details
Details for the file iminuit-2.2.1-cp38-cp38-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: iminuit-2.2.1-cp38-cp38-macosx_10_9_x86_64.whl
- Upload date:
- Size: 322.2 kB
- Tags: CPython 3.8, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47412eb8b6c4451e628da76b5573ca4eb7f011eac409c049d60f9bdddb8645a0 |
|
MD5 | ce43eb5e59be9c1a4439a41768437782 |
|
BLAKE2b-256 | a3d72cf79ea3bececdcbefdf1c5537878509951dc11e556fe3ca9802e1f2875c |
File details
Details for the file iminuit-2.2.1-cp37-cp37m-win_amd64.whl
.
File metadata
- Download URL: iminuit-2.2.1-cp37-cp37m-win_amd64.whl
- Upload date:
- Size: 282.3 kB
- Tags: CPython 3.7m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c585cffde70688bb69a68b6bdc257d7c3150d36dc6a95649a69030e1827fe0c |
|
MD5 | 47080e57e64593b626c02eb4ff6b5b9f |
|
BLAKE2b-256 | b02aca422d8c77fe1eaa38ab2eaac703caf8c631f71c8083f4dd2f02c99ca010 |
File details
Details for the file iminuit-2.2.1-cp37-cp37m-win32.whl
.
File metadata
- Download URL: iminuit-2.2.1-cp37-cp37m-win32.whl
- Upload date:
- Size: 255.5 kB
- Tags: CPython 3.7m, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8321c465a74d3ef0d7f42f45363f21706243593ff89670315921b15cd7d85a18 |
|
MD5 | 5f5a311ad29778c8f0f072d856c3d15f |
|
BLAKE2b-256 | 083dbff6c5f728a57384052867ee7df5089fc92f8f59fd8ed588b0ba9b8bbb91 |
File details
Details for the file iminuit-2.2.1-cp37-cp37m-manylinux2010_x86_64.whl
.
File metadata
- Download URL: iminuit-2.2.1-cp37-cp37m-manylinux2010_x86_64.whl
- Upload date:
- Size: 316.8 kB
- Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2494aa0d2025fb4c2a7a63e400966abed2e514a9e9e879581df66a253784a820 |
|
MD5 | 4252ba9aba71d5fd95f80a3888eb2af6 |
|
BLAKE2b-256 | 4d6bd3018ae179cf3e87058705d22a89a5bf8463140d106ee83708a69a9e93b8 |
File details
Details for the file iminuit-2.2.1-cp37-cp37m-manylinux2010_i686.whl
.
File metadata
- Download URL: iminuit-2.2.1-cp37-cp37m-manylinux2010_i686.whl
- Upload date:
- Size: 332.4 kB
- Tags: CPython 3.7m, manylinux: glibc 2.12+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f20dfcc6e3ba14a6b1366bf6283feaa212951e441c2380b3047fedaf2026e182 |
|
MD5 | 9481a9c1b425b0bcc71b619293586bd6 |
|
BLAKE2b-256 | c3ac41dfd4850921f30df2d01b9e789ec9b60eca0233e6ecdf9dc1f45fcb928b |
File details
Details for the file iminuit-2.2.1-cp37-cp37m-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: iminuit-2.2.1-cp37-cp37m-macosx_10_9_x86_64.whl
- Upload date:
- Size: 317.0 kB
- Tags: CPython 3.7m, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b787d10832ebca69616183e807196d39f23d5c1ca22a2fb6de46d75e7f026b1 |
|
MD5 | 86730a877ffe4700c649020178be9d73 |
|
BLAKE2b-256 | a711bfdac561cdee148164e6122ea5537884d791a0bba13134ee3cca9093a622 |
File details
Details for the file iminuit-2.2.1-cp36-cp36m-win_amd64.whl
.
File metadata
- Download URL: iminuit-2.2.1-cp36-cp36m-win_amd64.whl
- Upload date:
- Size: 282.2 kB
- Tags: CPython 3.6m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07e27673d46a889004ba0957af4b714dff9e41139b473ee374349ba1f1d10d6f |
|
MD5 | 94bc6f41015e42447c4179ee736e07ce |
|
BLAKE2b-256 | a6e902df0a8d08801ff904bba8c79312e4d6095e014e1561a2e63a562359bd5f |
File details
Details for the file iminuit-2.2.1-cp36-cp36m-win32.whl
.
File metadata
- Download URL: iminuit-2.2.1-cp36-cp36m-win32.whl
- Upload date:
- Size: 255.5 kB
- Tags: CPython 3.6m, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b7505e7d96f6a7e20439760f8f07b23366e3d0f907bffc0e023d4126630b43a |
|
MD5 | 0ad0f72ba2f74ab3716db0271fd58e22 |
|
BLAKE2b-256 | eb8e51bf2f1f9edf7f3ef262f07f3380a1573406431bfbc481c03028139494da |
File details
Details for the file iminuit-2.2.1-cp36-cp36m-manylinux2010_x86_64.whl
.
File metadata
- Download URL: iminuit-2.2.1-cp36-cp36m-manylinux2010_x86_64.whl
- Upload date:
- Size: 316.7 kB
- Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7b11d323adea96ccb3a676d46c5812bd5dc49aacd16ce13aa4ad3a97ecae4ca |
|
MD5 | ac6a849852f37cfe1e6a29b799364b05 |
|
BLAKE2b-256 | f7a17d2aa0ca3adf46806c55a95d0b186e71ec8a48d3c53eaf5154cf4d44de16 |
File details
Details for the file iminuit-2.2.1-cp36-cp36m-manylinux2010_i686.whl
.
File metadata
- Download URL: iminuit-2.2.1-cp36-cp36m-manylinux2010_i686.whl
- Upload date:
- Size: 332.2 kB
- Tags: CPython 3.6m, manylinux: glibc 2.12+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8dfe445da3bca250afd5c2988a267ae032ade70ca53c134195cdcad28d62869a |
|
MD5 | 6aafa0e40b2dc4f4101641e71435da35 |
|
BLAKE2b-256 | 9c540ccd4ad52b28b3d303ccc8d927dda9e6cc6ddef3f8ca59a810c2fcd359d5 |
File details
Details for the file iminuit-2.2.1-cp36-cp36m-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: iminuit-2.2.1-cp36-cp36m-macosx_10_9_x86_64.whl
- Upload date:
- Size: 316.9 kB
- Tags: CPython 3.6m, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17f0249f7493277d756068db7e375179af1332be3cfebd71b03339d49470dc4e |
|
MD5 | fe58e504291a41e387ae479260526552 |
|
BLAKE2b-256 | 2c89a8cfed07e98d42d48e0802ec4f098331b639426c5ba2bfe32b4c854204e7 |