Skip to main content

Response Matrix Utilities for likelihood calculations and hypothesis testing

Project description

A framework for likelihood calculations and hypothesis testing using binned events and response matrices.

[Documentation] [Coverage] [license: MIT] [DOI: 10.5281/zenodo.1217572]

Setup

Installing development version from source

It is recommended to run this software in a virtual Python environment (virtualenv). This ensures that all required packages are present in the tested version and do not interfere with other packages installed on the system. The easiest way to do so, is to simply source setup.sh after checking out the source code:

$ . setup.sh

This will automatically do something along these lines:

$ # Create a new virtual environment
$ virtualenv ENV
$ # Activate the environment
$ . ENV/bin/activate
$ # Upgrade pip to the latest version (optional)
$ pip install --upgrade pip
$ # Install all required packages
$ pip install -r requirements.txt
$ # Install actual package
$ pip install -e .

It will only create a new virtual environment if one does not exist already. You can also specify which Python version to use by providing the respective virtualenv argument to setup.sh, e.g. . setup.sh -p python3. You might need to install additional system libraries to compile all packages.

ReMU requires Python >=3.7.

Installing official releases with pip

Alternatively you can install official releases directly with pip:

$ # Create a new virtual environment
$ virtualenv ENV
$ # Activate the environment
$ . ENV/bin/activate
$ # Upgrade pip to the latest version (optional)
$ pip install --upgrade pip
$ # Install remu and its dependencies
$ pip install remu==1.0.0

If you want to make sure the optional dependencies are also installed, use pip’s ‘Extras’ syntax:

$ # install remu including all optional dependencies
$ pip install remu[mcmc]==1.0.0

Tests

Run all test cases of the framework:

$ pip install -r test-requirements.txt
$ ./run_tests.sh

Online documentation

Online documentation including examples can be found on the project’s readthedocs page:

https://remu.readthedocs.io

Citing

If you use ReMU in a publication, please cite it as follows:

L. Koch, ReMU - Response Matrix Utilities, http://github.com/ast0815/remu, doi:10.5281/zenodo.1217572

Or just use the DOI and let your bibliography manager handle the rest for you. You can cite specific versions of the software too. Just follow the link behind the DOI badge and choose the DOI specific for the release.

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

remu-0.7.0.tar.gz (24.6 MB view details)

Uploaded Source

Built Distribution

remu-0.7.0-py3-none-any.whl (60.5 kB view details)

Uploaded Python 3

File details

Details for the file remu-0.7.0.tar.gz.

File metadata

  • Download URL: remu-0.7.0.tar.gz
  • Upload date:
  • Size: 24.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for remu-0.7.0.tar.gz
Algorithm Hash digest
SHA256 729fc4f6e415edf469bce9b05b391a7e9111ff22345dbf0f45b87c3a3aae034b
MD5 8fdb1787190a300195510b8131446013
BLAKE2b-256 107b09d9996e82b055f018f333d39d25d34568d532cbc916e2d27b19dda589e9

See more details on using hashes here.

File details

Details for the file remu-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: remu-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 60.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for remu-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b7aacfc0e0fc47d8f637f112e049dd46906a9a1768baf6e348b70ba14678161a
MD5 b001e9993b9864650e6775a4d648b090
BLAKE2b-256 013ca10c5ee004a44fa107c00aceb567f654e2ee0e61cfe3f2f3ff066ef8ef2a

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