autoemcee

Runs MCMC automatically to convergence.

About

Runs a family of Markov Chain Monte Carlo ensemble samplers (Affine-Invariant or Slice Sampler) with gradually increasing number of samples until they converge.

Convergence is tested within each ensemble and across ensembles, see MCMC ensemble convergence test for details.

Supports parallelisation with MPI. No modifications to your code is needed, just run your script with mpiexec.

This package is built on top of emcee, zeus, anviz and mpi4py.

You can help by testing autoemcee and reporting issues. Code contributions are welcome. See the Contributing page.

https://img.shields.io/pypi/v/autoemcee.svg https://github.com/JohannesBuchner/autoemcee/actions/workflows/tests.yml/badge.svg https://coveralls.io/repos/github/JohannesBuchner/autoemcee/badge.svg?branch=master Documentation Status

Features

  • Pythonic. pip installable.

  • Easy to program for: Sanity checks with meaningful errors

  • both emcee and zeus are supported

  • MPI support for parallel high-performance computing

Usage

Read the full documentation at:

https://johannesbuchner.github.io/autoemcee/

For parallelisation, use:

mpiexec -np 4 python3 yourscript.py

Licence

GPLv3 (see LICENCE file). If you require another license, please contact me.

Icon made by Vecteezy from Flaticon .