MINUIT2 from Python - Fitting like a boss
Project description
iminuit is a Python interface to the MINUIT2 C++ package.
It can be used as a general robust function minimization 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/
Gitter: https://gitter.im/HSF/PyHEP
Mailing list: https://groups.google.com/forum/#!forum/scikit-hep-forum
License: MINUIT2 is LGPL and iminuit is MIT
Citation: https://github.com/scikit-hep/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
iminuit-1.3.7.tar.gz
(495.3 kB
view hashes)
Built Distributions
iminuit-1.3.7-cp37-cp37m-win32.whl
(216.2 kB
view hashes)
iminuit-1.3.7-cp36-cp36m-win32.whl
(216.3 kB
view hashes)
iminuit-1.3.7-cp27-cp27m-win32.whl
(224.9 kB
view hashes)
Close
Hashes for iminuit-1.3.7-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | deafcaacc503ab577409ce7bc749c4a4242fd3d7ed0320faf560db2703f9b9c5 |
|
MD5 | 8c89ecfbddd2e7aa6e6f30793398f1f8 |
|
BLAKE2b-256 | d36534f755a70213d75213ca34ce87a7fb621f8d4f083d124622b67d02c155b7 |
Close
Hashes for iminuit-1.3.7-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7715f86d3093cc901c2c0124369b566743fc750a2e541c6959e1d70324054af0 |
|
MD5 | 708c2660a18b87cbb1a6c4897419c262 |
|
BLAKE2b-256 | c8be85d5a47a2b2b47fe4dfa1f51c1db287aa5dde7382408fd6c9c01180a5503 |
Close
Hashes for iminuit-1.3.7-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dedca97e35fd6bcfeaea3c9ec137425e995ebb0271a62236ad8603583bb062e8 |
|
MD5 | c15c579aff84f7c0c83aec27842a7051 |
|
BLAKE2b-256 | 198e4b815d6dd41f04bee90c3749bf7928e5ce636e264c0f88f66bf84241d58f |
Close
Hashes for iminuit-1.3.7-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dea9d683ce67ec52b2e395c501b40845f2d887b66ecfbc418bae52fa453122b7 |
|
MD5 | d002344a480cd1c878d4a81eff2afb78 |
|
BLAKE2b-256 | 6d77db1daff9b732c1d78f8145d9e1e9f2b1a97f07e25c0ee9d96fa66fc71380 |
Close
Hashes for iminuit-1.3.7-cp37-cp37m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 759c745dcd119b6867fa070035c50a881133b820e5f33f849165cd2b2b3d88ff |
|
MD5 | aaff76346c5f992ede4c666115e83019 |
|
BLAKE2b-256 | efcc4cd296c62b23cdb22ac9c7e48142179f26693569b243836e29a0a4f37464 |
Close
Hashes for iminuit-1.3.7-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba454c8a09ea9fc93370ac81a4288c0201d5f16638eccf025b8df627b9d92c47 |
|
MD5 | 4ee45c797ceefa6497d5ede8cd8c9542 |
|
BLAKE2b-256 | 1d0f3235e011e3136da1b4784ea557569738a7c64005943e536d4336e257ee9c |
Close
Hashes for iminuit-1.3.7-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6e7105d4f44e90b41e4b811bb3e8ec4dadd7863bdf04af8c708aa15ccbec2df |
|
MD5 | 5dfd9f21f1f0b142e04ffbc73e714a9e |
|
BLAKE2b-256 | 3534e9effd9b43a8553775a6216358bf7ce289623af4c57a8a62463979f0c3b5 |
Close
Hashes for iminuit-1.3.7-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b8c0541e8998011ecd1cebb72c5958ba600f3bad8df9c311cf77034929250a4 |
|
MD5 | 36cd93b9fe18c9f745cfe499f45377df |
|
BLAKE2b-256 | acbd4b929a2ebc1bc423071bb78d344b8367a94d2a421cb1f4f4a40ecd79a2b2 |
Close
Hashes for iminuit-1.3.7-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebfaacd601b869715d90853ee37e24f7840af39d81bf0f2089d1831522736066 |
|
MD5 | 30d028a9d3a3bb861f27de27616d7936 |
|
BLAKE2b-256 | ce99d40c19f6639d3ebaaa706ad3b3804dc3ffa687be270834041c484a3d86b1 |
Close
Hashes for iminuit-1.3.7-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5111a3d8ce6fd647ed18d14e456201483e1c2b55208ce122b07c230bfd7629d |
|
MD5 | 379ab1724bf1e4c8721c9f6db018f814 |
|
BLAKE2b-256 | f7f47472663aae5faba79179a54b63c02d49422179100220d052311148f6427b |
Close
Hashes for iminuit-1.3.7-cp36-cp36m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a76b042dc717bb9ad66a5b76e189b19d26e549e69b5c2a4b7c56e8f1c7616b5 |
|
MD5 | e44fc98f454062b4548c50e671206540 |
|
BLAKE2b-256 | 13b26206dddf028af9a5feae5f9229ae72d279fa5d64ef0770916c4b49e67206 |
Close
Hashes for iminuit-1.3.7-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f73dffea6265710ce82fe5fb9351173b2c42a54035ee1c3920eaf6c24b9d6808 |
|
MD5 | 967de323160fc75de909b01599f5e282 |
|
BLAKE2b-256 | 51f5381d2b2d41bb7edcac3378ded58cf1648ea92c97468641cbe08ae78e514a |
Close
Hashes for iminuit-1.3.7-cp35-cp35m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c08fcbcca2e97b1fe56bfe0679212687b42c86536014b9966329062aeb3d4508 |
|
MD5 | 5d9a3670f8ca4e3ca2af5a6df2d3abdb |
|
BLAKE2b-256 | 88b30c77ad76e7d4a5fd2598a98be8e4662e7e41eba76202efa4d67e8ce82695 |
Close
Hashes for iminuit-1.3.7-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bbb67ea0f1d158056d8b44258f4e5eb0ab4802e2be7417625a893d2de2e2b59 |
|
MD5 | 310ba4028a7327a11aab0a296d7d5ca0 |
|
BLAKE2b-256 | 8efe2d43fc72cafd2072bc389fb43765e682668ce3eae575fbb88d5d042467b3 |
Close
Hashes for iminuit-1.3.7-cp35-cp35m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c9f8572ee0101b9e30d09ef327fdb791728b636f822998e3d0b051443d009ee |
|
MD5 | 79cac05107b040b7d9af255c2e602d67 |
|
BLAKE2b-256 | e0ece5eeb58a8d2ade4e7d7a2c3c73903aff66e74341034a354b2077de83962d |
Close
Hashes for iminuit-1.3.7-cp27-cp27mu-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 742ff4fb5628b4126180267d8e6f81ed71323772a3fe50cc54d96b1e21156ee7 |
|
MD5 | 4547dd6359c9dab01a303ee23bd73c56 |
|
BLAKE2b-256 | 8119e1ab3d46ec195250a395b1059a89129a769fd40903813237954ba39ba8a8 |
Close
Hashes for iminuit-1.3.7-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58401c1c9c02e4d0be81487bf3007fdcb53c2ec3852afaed7a9d49d21a90a57f |
|
MD5 | 09774c9fcbbf7f7a141d1c1ba5a913e4 |
|
BLAKE2b-256 | e03dc0d9b5806ba3b7ae35655e89d960c47d58edbd9fc9c96fd95bc9ff05ca84 |
Close
Hashes for iminuit-1.3.7-cp27-cp27mu-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3a02336dee9d1c8d397aff175a4ef9239bd8b3e8b875e0e2ca1c481f2a730ef |
|
MD5 | 4a7e30967e6e67bffe53365c7beae4c3 |
|
BLAKE2b-256 | 23dcfbb6fb0de35ef48d2fd8aff0f2257423787d6ba8c258e143ea7ded983df9 |
Close
Hashes for iminuit-1.3.7-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0412e19ba9d8018fbf0c8556957e90b19a9ccb662b547c3126dd27c7272c08e |
|
MD5 | a75f8b9b36d01c7f2c46f6cc79864040 |
|
BLAKE2b-256 | 98b8385f351552c1b987557bee802809c0d33e8a68d55d634092e973866d0b6d |
Close
Hashes for iminuit-1.3.7-cp27-cp27m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c0d5cb5937a4eb03d0eb05ad169803639762e8d071558acae0f1531655a7d48 |
|
MD5 | e82a366b575e0dcec1252ad264b38c2a |
|
BLAKE2b-256 | abe8d218e4ac53dc4ef10a4d1368b3ff9464cc3c6a09b3252ab05536acd40ee9 |
Close
Hashes for iminuit-1.3.7-cp27-cp27m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20426a3dca7424b408f1013179fe41ba2be1716aa9e277897a2a53f03834953b |
|
MD5 | a56f74539e3b9849652849184b50c252 |
|
BLAKE2b-256 | af8caf32a2474e8a691d173e6bbb413d6c939d58fff68238e763e00413bd2e58 |
Close
Hashes for iminuit-1.3.7-cp27-cp27m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b12a73ca20156767058ef69cb90b4816418d059febfb1b9cfb1743232e516962 |
|
MD5 | b50d7933060d0b2da4b51174b8f1bb60 |
|
BLAKE2b-256 | a4f70c6b0ef2f767263a4987460b9264cb65ae634aca9fb5de5f2a7375bcec40 |
Close
Hashes for iminuit-1.3.7-cp27-cp27m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 033093a337c472070c875bfcff89dff5cf1b6448271498f451f934a320faf56e |
|
MD5 | 1ff91120b93573b7bbd8096a1fcdb6a6 |
|
BLAKE2b-256 | 8692f09a8dae4672131d484592f836ab75adca0ccf14c71aa96234f45c09be4e |
Close
Hashes for iminuit-1.3.7-cp27-cp27m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e07315b9f16259e13e00b3fc336400bc4821596745a0d35f5c1597512dd00c1b |
|
MD5 | d49356b75206ec8d01b91a0e2ed2e59d |
|
BLAKE2b-256 | 7960f1b16376946188150638246c5129b2c8bf864fa4350b4a5b16a89ba8c0a1 |