{ "info": { "author": "Yacine Haddad", "author_email": "yhaddad@cern.ch", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "==========\nHistimator\n==========\n\n\n.. image:: https://img.shields.io/pypi/v/histimator.svg\n :target: https://pypi.python.org/pypi/histimator\n\n.. image:: https://img.shields.io/travis/yhaddad/histimator.svg\n :target: https://travis-ci.org/yhaddad/histimator\n\n.. image:: https://readthedocs.org/projects/histimator/badge/?version=latest\n :target: https://histimator.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\n\n.. image:: https://pyup.io/repos/github/yhaddad/histimator/shield.svg\n :target: https://pyup.io/repos/github/yhaddad/histimator/\n :alt: Updates\n\n\n\nA solution for performing maximum likelihood estimation on models built from histogram templates.\n\n\n* Free software: GNU General Public License v3\n* Documentation: https://histimator.readthedocs.io.\n\n\nFeatures\n--------\n\n* TODO\n\nUsage\n-----\nthe histimator core directory has a file called Models containing the core HistiModel class.\n\nthe model is initialised::\n\n from histimator.models import HistiModel\n model = HistiModel(\"model name\")\n\nEach channel is defined as::\n\n from histimodel.Channel import HistiChannel\n SR = HistiChannel(\"SignalRegion\")\n\ndata can be added to the channels as::\n\n SR.SetData([list of data points])\n\nany number of samples are defined as::\n\n from histimator.models import HistiSample\n sig = HistiSample(\"Signal\")\n bkg = HistiSample(\"Background\")\n\neach of which needs a histogram::\n\n sig.SetHisto(numpy.histogram)\n bkg.SetHisto(numpy.histogram)\n\ncurrently the only parameters available are an overal normalisation on these templates.\nthis is given with a name an initial value (default 1) and a range (default [0.1,10]). Currently no implementation is actually in place to tell Minuit about this range...::\n\n sig.AddNorm(\"some_norm\",1,0,3)\n\nFinally, the samples must be added to the channel and this added to the model.::\n\n\t SR.AddSample(sig)\n\t SR.AddSample(bkg)\n\t model.AddChannel(SR)\n\nThis model can now be evaluated using probfit Binned Likelihood function::\n\n from iminuit import Minuit\n from probfit import BinnedLH\n blh = BinnedLH(model.pdf, data, bins=10, bound=bound, extended=True)\n m = Minuit(blh, some_norm=0.5, error_some_norm=1.5)\n m.migrad()\n\nthis has various built in plotting functionality. \n\n.. image:: https://github.com/Histimator/Histimator/blob/master/examples/fitnorm.png\n\n\nCredits\n-------\n\nThis package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage\n\n\n=======\nHistory\n=======\n\n0.1.0 (2018-02-16)\n------------------\n\n* First release on PyPI.\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Histimator/Histimator.git", "keywords": "histimator", "license": "GNU General Public License v3", "maintainer": "", "maintainer_email": "", "name": "Histimator", "package_url": "https://pypi.org/project/Histimator/", "platform": "", "project_url": "https://pypi.org/project/Histimator/", "project_urls": { "Homepage": "https://github.com/Histimator/Histimator.git" }, "release_url": "https://pypi.org/project/Histimator/0.2.1/", "requires_dist": null, "requires_python": "", "summary": "A solution for performing maximum likelihood estimation on models built from histogram templates.", "version": "0.2.1" }, "last_serial": 3615303, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "b21b6a7ad4a4346d0ae67371bee6b46d", "sha256": "dc7f3b10b07bc5b023892b7fd890f70f7b450bed10bb158607d8fee1e87b961a" }, "downloads": -1, "filename": "Histimator-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b21b6a7ad4a4346d0ae67371bee6b46d", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 9574, "upload_time": "2018-02-24T23:56:41", "url": "https://files.pythonhosted.org/packages/2b/f6/08076c3ad691a386ca9a3ff64cebf0723f9e6be796673daa2d233a1e9d37/Histimator-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b4652cf9535d838c476497bb358da937", "sha256": "3ed5ae3ec263036157b8b90bfaa838afabab10d3d01f41b7c68a36c13fc315fe" }, "downloads": -1, "filename": "Histimator-0.2.0.tar.gz", "has_sig": false, "md5_digest": "b4652cf9535d838c476497bb358da937", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19074, "upload_time": "2018-02-24T23:56:37", "url": "https://files.pythonhosted.org/packages/e3/ce/53a58ab08ad6855237c0af06207e1b8102f5873a1dbdee9046ac351f7c28/Histimator-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "1225e6ed222ede857f411cac71a67178", "sha256": "6c941c5a17c15dffc6047e4519758c64c547cbeaf95ee697b8759c01a1d81010" }, "downloads": -1, "filename": "Histimator-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1225e6ed222ede857f411cac71a67178", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 9568, "upload_time": "2018-02-25T22:29:16", "url": "https://files.pythonhosted.org/packages/20/6d/96ded101c7aa2a6567f052999043d98fb4511b3e80ed3c505e231046a9b0/Histimator-0.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a27c0b100fd9a30bebc5aacdcd455301", "sha256": "b089a033a999f3850a5ffcf39b8fb9cf81ba6ae57f4d4f91f7df0919638b8556" }, "downloads": -1, "filename": "Histimator-0.2.1.tar.gz", "has_sig": false, "md5_digest": "a27c0b100fd9a30bebc5aacdcd455301", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19072, "upload_time": "2018-02-25T22:29:13", "url": "https://files.pythonhosted.org/packages/77/3d/464df0817e5dfc4514dcb6728284fc5878ee312783a0ddbefc7edb123afb/Histimator-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1225e6ed222ede857f411cac71a67178", "sha256": "6c941c5a17c15dffc6047e4519758c64c547cbeaf95ee697b8759c01a1d81010" }, "downloads": -1, "filename": "Histimator-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1225e6ed222ede857f411cac71a67178", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 9568, "upload_time": "2018-02-25T22:29:16", "url": "https://files.pythonhosted.org/packages/20/6d/96ded101c7aa2a6567f052999043d98fb4511b3e80ed3c505e231046a9b0/Histimator-0.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a27c0b100fd9a30bebc5aacdcd455301", "sha256": "b089a033a999f3850a5ffcf39b8fb9cf81ba6ae57f4d4f91f7df0919638b8556" }, "downloads": -1, "filename": "Histimator-0.2.1.tar.gz", "has_sig": false, "md5_digest": "a27c0b100fd9a30bebc5aacdcd455301", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19072, "upload_time": "2018-02-25T22:29:13", "url": "https://files.pythonhosted.org/packages/77/3d/464df0817e5dfc4514dcb6728284fc5878ee312783a0ddbefc7edb123afb/Histimator-0.2.1.tar.gz" } ] }