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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

alea_inference-0.3.5-py3-none-any.whl (564.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: alea_inference-0.3.5.tar.gz
  • Upload date:
  • Size: 531.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for alea_inference-0.3.5.tar.gz
Algorithm Hash digest
SHA256 2b87e8860b615073b0793ad3f4b5145ee0c20619d779ced60c5848dc26f15a34
MD5 4038b052b6fbbbb49c79941f24db5c9f
BLAKE2b-256 cbf518146237465c86801924237d0f08ce598e2e66649f0f0c1ea52bb09dcca6

See more details on using hashes here.

Provenance

The following attestation bundles were made for alea_inference-0.3.5.tar.gz:

Publisher: pypi_install.yml on XENONnT/alea

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: alea_inference-0.3.5-py3-none-any.whl
  • Upload date:
  • Size: 564.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for alea_inference-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 715753858789351814cf43000b6c28a8aa92753fefa50d2cd57a1cae92419a40
MD5 56de33181227b563a146e4535c77aeb8
BLAKE2b-256 6022331be74b885f08fe068c5904d466c67e9c3326215447ae0147a64857aa19

See more details on using hashes here.

Provenance

The following attestation bundles were made for alea_inference-0.3.5-py3-none-any.whl:

Publisher: pypi_install.yml on XENONnT/alea

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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