tensiometer

Tension tools for posterior distributions


Keywords
MCMC
License
GPL-2.0+
Install
pip install tensiometer==0.1.1

Documentation

Tensiometer

Test a model until it breaks!

Tensiometer: utilities to understand concordance and discordance of posterior distributions
Author: Marco Raveri and Cyrille Doux
Homepage: https://tensiometer.readthedocs.io
Source: https://github.com/mraveri/tensiometer
References: https://arxiv.org/abs/2105.03324 (non-Gaussian metrics), https://arxiv.org/abs/1806.04649 and https://arxiv.org/abs/1912.04880 (Gaussian)
https://travis-ci.org/mraveri/tensiometer.svg?branch=master https://readthedocs.org/projects/tensiometer/badge/?version=latest https://coveralls.io/repos/github/mraveri/tensiometer/badge.svg?branch=master https://img.shields.io/pypi/v/tensiometer.svg?style=flat

Description

The tensiometer package is a collection of tools to test the level of agreement/disagreement between different posterior distributions.

The best way to get up to speed is to read through the worked example full worked example that you can run online! There's also a documented example of non-Gaussian tension estimates between DES Y1 and Planck 18.

Installation

The tensiometer package is available on PyPI and can be easily installed with:

pip install tensiometer

Alternatively one can download the source code from github:

git clone https://github.com/mraveri/tensiometer.git

and install it locally with the shortcut:

make install

You can test that the code is working properly by using:

make test

Dependencies

Uses mostly standard python packages and GetDist.

For the full list of requirements see the requirements.txt file.