PXMCMC

High-dimensional imaging inverse problems arise in many fields, including astrophysics, geophysics and medical imaging. They involve recovering the pixels of an image of, for example, the inside of a human body from attenuated X-rays. Proximal Markov Chain Monte Carlo algorithms can be used for sampling high-dimensional parameter spaces where the posterior distribution is non-differentiable, for example when using a sparse prior. The proximity operator is used instead of the gradient to efficiently navigate the parameter space. The algorithms implemented here were first introduced in Pereyra (2016), modifying the gradient-based Langevin MCMC.

This is a python package for performing proximal MCMC. It contains the MCMC methods and base classes for building different forward operators and priors as needed, as well as routines for calculating simple uncertainties based on the MCMC chains. Example scripts are also provided.

Installation

Available on PyPI

$ pip install pxmcmc

Installation is currently managed by poetry to handle dependencies when installing from source

$ git clone https://github.com/auggiemarignier/pxmcmc.git
$ cd pxmcmc
$ poetry install
$ source <venv>/bin/activate

where <venv> will depend on your poetry configuration.

Indices and tables