Skip to main content

A tool to perform toyMC-based inference constructions

Project description

alea

DOI Binder Test package Coverage Status PyPI version shields.io Readthedocs Badge CodeFactor pre-commit.ci status

alea is a flexible statistical inference framework. The Python package is designed for constructing, handling, and fitting statistical models, computing confidence intervals and conducting sensitivity studies. It is primarily developed for the XENONnT dark matter experiment, but can be used for any statistical inference problem.

Alea aims to model the statistical behaviour of an experiment, which again depends on your knowledge of the underlying physics-- this can range from the very simple, such as measuring a gaussian-distributed random variable, to complex likelihoods where each model component is created by physics simulations (GEANT4), fast detector simulations (for example appletree for XENONnT) or a data-driven method.

If you use alea in your research, please consider citing the software published on zenodo.

Installation

You can install alea from PyPI using pip but beware that it is listed there as alea-inference! Thus, you need to run

pip install alea-inference

For the latest version, you can install directly from the GitHub repository by cloning the repository and running

cd alea
pip install .

You are now ready to use alea!

Getting started

The best way to get started is to check out the documentation and have a look at our tutorial notebooks. To explore the notebooks interactively, you can use Binder.

Acknowledgements

alea is a public package inherited the spirits of previously private XENON likelihood definition and inference construction code binference that based on the blueice repo https://github.com/JelleAalbers/blueice.

Binference was developed for XENON1T WIMP searches by Knut Dundas Morå, and for the first XENONnT results by Robert Hammann, Knut Dundas Morå and Tim Wolf.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

alea_inference-0.3.0.tar.gz (490.5 kB view details)

Uploaded Source

Built Distribution

alea_inference-0.3.0-py3-none-any.whl (518.1 kB view details)

Uploaded Python 3

File details

Details for the file alea_inference-0.3.0.tar.gz.

File metadata

  • Download URL: alea_inference-0.3.0.tar.gz
  • Upload date:
  • Size: 490.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for alea_inference-0.3.0.tar.gz
Algorithm Hash digest
SHA256 55923869e425e0c0b0e3275eec0d21c189735ce2b0977857fdd270c93ff8a55f
MD5 60b90d0d8f9a807b5661b90ec5a263ec
BLAKE2b-256 b702b3fd47509bd018749fa63ef68290e3b81276bc78709d61b6cdf3312deea7

See more details on using hashes here.

File details

Details for the file alea_inference-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for alea_inference-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 28e3b734964d3a8cc8490f0a8e03fc1c5bd05ecc2e275f1f117c5ca76685e474
MD5 e10fac5724f23c0a0877d10c8c66cd80
BLAKE2b-256 82eee714b8df661efefb7d2d9cbd0afaa635d837623f80254d6cb1784b425a2a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page