blueice


Nameblueice JSON
Version 1.2.0 PyPI version JSON
download
home_pagehttps://github.com/JelleAalbers/blueice
SummaryBuild Likelihoods Using Efficient Interpolations from monte-Carlo generated Events
upload_time2024-01-13 09:11:19
maintainer
docs_urlNone
authorJelle Aalbers
requires_python
licenseMIT
keywords blueice
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            blueice: Build Likelihoods Using Efficient Interpolations and monte-Carlo generated Events
==========================================================================================
.. image:: https://github.com/JelleAalbers/blueice/actions/workflows/pytest.yml/badge.svg?branch=master
    :target: https://github.com/JelleAalbers/blueice/actions/workflows/pytest.yml
.. image:: https://coveralls.io/repos/github/JelleAalbers/blueice/badge.svg?branch=master
    :target: https://coveralls.io/github/JelleAalbers/blueice?branch=master
.. image:: https://readthedocs.org/projects/blueice/badge/?version=latest
         :target: http://blueice.readthedocs.org/en/latest/?badge=latest
         :alt: Documentation Status
.. image:: https://zenodo.org/badge/65375508.svg
   :target: https://zenodo.org/badge/latestdoi/65375508

Source code: `https://github.com/JelleAalbers/blueice`

Documentation: `http://blueice.readthedocs.io/en/latest/index.html`

About
=====
This package allows you to do parametric inference using likelihood functions, in particular likelihoods derived from Monte-Carlo or calibration sources.

Especially when connected to a Monte Carlo, blueice lets you make likelihood functions which measure agreement between data and theory with flexibility: you choose which settings to vary (which parameters the likelihood functions has) and in which space the agreement is measured.

This package contains only generic code: you'll need a few things to make it useful for a particular experiment. Originally this code was developed for XENON1T only; the XENON1T models have since been split off to the `laidbax <https://github.com/XENON1T/laidbax>`_ repository. XENONnT is still developing `alea <https://github.com/XENONnT/alea>`_ which is based on blueice.


Contributors
============
* Jelle Aalbers
* Knut Dundas Moraa
* Bart Pelssers


------------------
1.2.0 (2024/01/13)
------------------
* Prevent negative rates being passed to Barlow-Beeston equation, and allow per-event weights (#32)
* Add likelihood that takes coupling as shape parameters (#34)
* Patch for tests (#37)
* Use scipy stats for PoissonLL (#40)
* Do not scale mus when livetime_days is 0 (#41)

------------------
1.1.0 (2021/01/07)
------------------
* Likelihood sum wrapper (#17)
* emcee bestfit and multicore precomputation (#18)
* LogAncillaryLikelihood for constraint terms (#19)
* HistogramPDFSource simulation, order shape parameter dict (#20)
* Efficiency shape parameter, LogLikelihoodSum enhancements (#23)
* Use scipy as default optimizer (#24)
* Minuit support for bounds and errors (#26, #27)
* Per-source efficiencies, weighted LogLikelihoodSum (#28)
* Use atomicwrites for cache to prevent race conditions (#30)

------------------
1.0.0 (2016/10/01)
------------------
* Binned likelihoods (#7)
* Argument validation for LogLikelihood function (#8)
* Automatic handling of statistical uncertainty due to finite MC/calibration statistics (#9):
  * Adjustment of expected counts per bin using Beeston-Barlow method for one source
  * Generalized to multiple sources, but only one with finite statistics.
  * Only for binned likelihoods.
* iminuit integration, use as default minimizer if installed (#10, #13)
* compute_pdf option to do full likelihood model computation on the fly (#11)
* HistogramPDF to provide just histogram lookup/interpolation from DensityEstimatingSource (#12)
* inference functions -> LogLikelihood methods
* Most-used functions/classes available under blueice (blueice.Source, blueice.UnbinnedLogLikelihood, ...)
* compute_pdf auto-called, consistent handling of events_per_day
* Start of documentation, readthedocs integration

------------------
0.4.0 (2016/08/22)
------------------
* Big internal refactor, some API changes (#5)
* DensityEstimatingSource
* Bugfixes, more tests

------------------
0.3.0 (2016/08/21)
------------------

* Renamed to blueice, XENON stuff renamed to laidbax
* Experimental radial template morphing (#4)
* Tests, several bugfixes (e.g. #3)
* Rate parameters are now rate multipliers
* Linear interpolation of density estimator
* Parallel model initialization

------------------
0.2.0 (2016/07/31)
------------------

* Complete makeover centered around LogLikelihood function
* Separation of XENON stuff and general code
* PDF caching
* Example notebooks

------------------
0.1.0 (2016/07/14)
------------------

* First release in separate repository
* Model and Source, pdf sampling.

------------------
0.0.1 (2015/12/18)
------------------

* First release in XeAnalysisScripts



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/JelleAalbers/blueice",
    "name": "blueice",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "blueice",
    "author": "Jelle Aalbers",
    "author_email": "j.aalbers@uva.nl",
    "download_url": "https://files.pythonhosted.org/packages/a7/48/0c8a3ad1ed7cd5882568c0d143ea84c111fff9c8e50a5f31890eb809f79f/blueice-1.2.0.tar.gz",
    "platform": null,
    "description": "blueice: Build Likelihoods Using Efficient Interpolations and monte-Carlo generated Events\n==========================================================================================\n.. image:: https://github.com/JelleAalbers/blueice/actions/workflows/pytest.yml/badge.svg?branch=master\n    :target: https://github.com/JelleAalbers/blueice/actions/workflows/pytest.yml\n.. image:: https://coveralls.io/repos/github/JelleAalbers/blueice/badge.svg?branch=master\n    :target: https://coveralls.io/github/JelleAalbers/blueice?branch=master\n.. image:: https://readthedocs.org/projects/blueice/badge/?version=latest\n         :target: http://blueice.readthedocs.org/en/latest/?badge=latest\n         :alt: Documentation Status\n.. image:: https://zenodo.org/badge/65375508.svg\n   :target: https://zenodo.org/badge/latestdoi/65375508\n\nSource code: `https://github.com/JelleAalbers/blueice`\n\nDocumentation: `http://blueice.readthedocs.io/en/latest/index.html`\n\nAbout\n=====\nThis package allows you to do parametric inference using likelihood functions, in particular likelihoods derived from Monte-Carlo or calibration sources.\n\nEspecially when connected to a Monte Carlo, blueice lets you make likelihood functions which measure agreement between data and theory with flexibility: you choose which settings to vary (which parameters the likelihood functions has) and in which space the agreement is measured.\n\nThis package contains only generic code: you'll need a few things to make it useful for a particular experiment. Originally this code was developed for XENON1T only; the XENON1T models have since been split off to the `laidbax <https://github.com/XENON1T/laidbax>`_ repository. XENONnT is still developing `alea <https://github.com/XENONnT/alea>`_ which is based on blueice.\n\n\nContributors\n============\n* Jelle Aalbers\n* Knut Dundas Moraa\n* Bart Pelssers\n\n\n------------------\n1.2.0 (2024/01/13)\n------------------\n* Prevent negative rates being passed to Barlow-Beeston equation, and allow per-event weights (#32)\n* Add likelihood that takes coupling as shape parameters (#34)\n* Patch for tests (#37)\n* Use scipy stats for PoissonLL (#40)\n* Do not scale mus when livetime_days is 0 (#41)\n\n------------------\n1.1.0 (2021/01/07)\n------------------\n* Likelihood sum wrapper (#17)\n* emcee bestfit and multicore precomputation (#18)\n* LogAncillaryLikelihood for constraint terms (#19)\n* HistogramPDFSource simulation, order shape parameter dict (#20)\n* Efficiency shape parameter, LogLikelihoodSum enhancements (#23)\n* Use scipy as default optimizer (#24)\n* Minuit support for bounds and errors (#26, #27)\n* Per-source efficiencies, weighted LogLikelihoodSum (#28)\n* Use atomicwrites for cache to prevent race conditions (#30)\n\n------------------\n1.0.0 (2016/10/01)\n------------------\n* Binned likelihoods (#7)\n* Argument validation for LogLikelihood function (#8)\n* Automatic handling of statistical uncertainty due to finite MC/calibration statistics (#9):\n  * Adjustment of expected counts per bin using Beeston-Barlow method for one source\n  * Generalized to multiple sources, but only one with finite statistics.\n  * Only for binned likelihoods.\n* iminuit integration, use as default minimizer if installed (#10, #13)\n* compute_pdf option to do full likelihood model computation on the fly (#11)\n* HistogramPDF to provide just histogram lookup/interpolation from DensityEstimatingSource (#12)\n* inference functions -> LogLikelihood methods\n* Most-used functions/classes available under blueice (blueice.Source, blueice.UnbinnedLogLikelihood, ...)\n* compute_pdf auto-called, consistent handling of events_per_day\n* Start of documentation, readthedocs integration\n\n------------------\n0.4.0 (2016/08/22)\n------------------\n* Big internal refactor, some API changes (#5)\n* DensityEstimatingSource\n* Bugfixes, more tests\n\n------------------\n0.3.0 (2016/08/21)\n------------------\n\n* Renamed to blueice, XENON stuff renamed to laidbax\n* Experimental radial template morphing (#4)\n* Tests, several bugfixes (e.g. #3)\n* Rate parameters are now rate multipliers\n* Linear interpolation of density estimator\n* Parallel model initialization\n\n------------------\n0.2.0 (2016/07/31)\n------------------\n\n* Complete makeover centered around LogLikelihood function\n* Separation of XENON stuff and general code\n* PDF caching\n* Example notebooks\n\n------------------\n0.1.0 (2016/07/14)\n------------------\n\n* First release in separate repository\n* Model and Source, pdf sampling.\n\n------------------\n0.0.1 (2015/12/18)\n------------------\n\n* First release in XeAnalysisScripts\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Build Likelihoods Using Efficient Interpolations from monte-Carlo generated Events",
    "version": "1.2.0",
    "project_urls": {
        "Homepage": "https://github.com/JelleAalbers/blueice"
    },
    "split_keywords": [
        "blueice"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "dbd7503b045d32e0adec505582fbd12e3c270bf9d00da67ff46140782ea9f059",
                "md5": "211f672595be3341b86b10a16921d42a",
                "sha256": "e3ae21dff8061361dc677fb6f8cd682a52ba3320249b6029e42820313350a0f2"
            },
            "downloads": -1,
            "filename": "blueice-1.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "211f672595be3341b86b10a16921d42a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 37069,
            "upload_time": "2024-01-13T09:11:17",
            "upload_time_iso_8601": "2024-01-13T09:11:17.892464Z",
            "url": "https://files.pythonhosted.org/packages/db/d7/503b045d32e0adec505582fbd12e3c270bf9d00da67ff46140782ea9f059/blueice-1.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a7480c8a3ad1ed7cd5882568c0d143ea84c111fff9c8e50a5f31890eb809f79f",
                "md5": "286d90092fde7a6a23832d68d628338f",
                "sha256": "02f4a93cee43215ba84a3a6fb28516998bd471527cc9ef93c2d9d40dded0ba8b"
            },
            "downloads": -1,
            "filename": "blueice-1.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "286d90092fde7a6a23832d68d628338f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 41440,
            "upload_time": "2024-01-13T09:11:19",
            "upload_time_iso_8601": "2024-01-13T09:11:19.300613Z",
            "url": "https://files.pythonhosted.org/packages/a7/48/0c8a3ad1ed7cd5882568c0d143ea84c111fff9c8e50a5f31890eb809f79f/blueice-1.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-13 09:11:19",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "JelleAalbers",
    "github_project": "blueice",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "blueice"
}
        
Elapsed time: 0.16503s