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.

0.2.7 / 2024-08-07

Full Changelog: https://github.com/XENONnT/alea/compare/v0.2.6...v0.2.7

0.2.6 / 2024-07-31

Full Changelog: https://github.com/XENONnT/alea/compare/v0.2.5...v0.3.0

0.2.5 / 2024-07-30

New Contributors

Full Changelog: https://github.com/XENONnT/alea/compare/v0.2.4...v0.2.5

0.2.4 / 2024-03-18

Full Changelog: https://github.com/XENONnT/alea/compare/v0.2.3...v0.2.4

0.2.3 / 2024-02-22

Full Changelog: https://github.com/XENONnT/alea/compare/v0.2.2...v0.2.3

0.2.2 / 2024-01-13

Full Changelog: https://github.com/XENONnT/alea/compare/v0.2.1...v0.2.2

0.2.1 / 2023-12-08

Full Changelog: https://github.com/XENONnT/alea/compare/v0.2.0...v0.2.1

0.2.0 / 2023-09-01

New Contributors

Full Changelog: https://github.com/XENONnT/alea/compare/v0.1.0...v0.2.0

0.1.0 / 2023-08-11

Full Changelog: https://github.com/XENONnT/alea/compare/v0.0.0...v0.1.0

0.0.0 / 2023-07-28

New Contributors

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.2.7.tar.gz (86.8 kB view details)

Uploaded Source

Built Distribution

alea_inference-0.2.7-py3-none-any.whl (114.8 kB view details)

Uploaded Python 3

File details

Details for the file alea-inference-0.2.7.tar.gz.

File metadata

  • Download URL: alea-inference-0.2.7.tar.gz
  • Upload date:
  • Size: 86.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for alea-inference-0.2.7.tar.gz
Algorithm Hash digest
SHA256 8dff0b4c81f5fa8c294a2968ecb1826ba6b574b13e57d54a736e439b3ff88211
MD5 daefec4fdf48834a38ac649f714328db
BLAKE2b-256 a49e6b51e877110ac5f4ad58e1457d4a06c254715bfe57fef02814278d58ebb2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for alea_inference-0.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 b30701196149736591d20ab3ade7698dc29eed8d6837038ee45af67f770abc76
MD5 20aa665be27a1e9850518bebd59c0887
BLAKE2b-256 009487c0f7aaa45541a2248724bc62b4adce1cd7301ec1a5c98e789aca1d328b

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