Fully Bayesian Unfolding


License
Other
Install
pip install fbu==0.1.2

Documentation

https://travis-ci.com/pyFBU/fbu.png

PyFBU

Implementation of the Fully Bayesian Unfolding algorithm described in physics.data-an/1201.4612. The software is based on the Bayesian statistical modeling package PyMC3.

Dependencies

PyFBU is tested on Python 3.6.3 within Anaconda 4.3.30 and depends on PyMC 3.

Installation

The use of an isolated Python environment is recommended:

conda create --name fbuenv
source activate fbuenv

PyMC 3 can be installed using conda

conda install -c conda-forge pymc3

The following packages also need to be installed

conda install mkl
conda install numpy
conda install mkl-service

And this export needs to be added to your bashrc or similar to avoid warings

export MKL_THREADING_LAYER=GNU

or pip

pip install git+https://github.com/pymc-devs/pymc3

The latest stable version of PyFBU can be installed using pip.

pip install fbu

Alternatively one can check out the development version of the code from the GitHub repository:

git clone https://github.com/pyFBU/fbu.git

Usage

A simple tutorial to help you get started.