Code for the experiments of the paper "Random spanning tree Markov random field priors for Bayesian inverse problems in imaging" by Jasper M. Everink.
This repository is organized as follows:
- RSTMRF contains Python implementations for Wilson's algorithm for sampling from weighted random spanning trees (specialized to the 2D grid), and posterior sampling algorithms.
- Experiments contains Jupyter Notebooks containing the numerical experiments from the paper and the code to plot the results.