Build Likelihoods Using Efficient Interpolations from monte-Carlo generated Events
Project description
blueice: Build Likelihoods Using Efficient Interpolations and monte-Carlo generated Events
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 repository. XENONnT is still developing 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
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 Distribution
File details
Details for the file blueice-1.2.0.tar.gz
.
File metadata
- Download URL: blueice-1.2.0.tar.gz
- Upload date:
- Size: 41.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02f4a93cee43215ba84a3a6fb28516998bd471527cc9ef93c2d9d40dded0ba8b |
|
MD5 | 286d90092fde7a6a23832d68d628338f |
|
BLAKE2b-256 | a7480c8a3ad1ed7cd5882568c0d143ea84c111fff9c8e50a5f31890eb809f79f |
File details
Details for the file blueice-1.2.0-py3-none-any.whl
.
File metadata
- Download URL: blueice-1.2.0-py3-none-any.whl
- Upload date:
- Size: 37.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3ae21dff8061361dc677fb6f8cd682a52ba3320249b6029e42820313350a0f2 |
|
MD5 | 211f672595be3341b86b10a16921d42a |
|
BLAKE2b-256 | dbd7503b045d32e0adec505582fbd12e3c270bf9d00da67ff46140782ea9f059 |