Author(s): Paul Miles | August 7, 2018
The mcmcplot package is designed to assist in the analysis of sampling chains gathered during a Markov Chain Monte Carlo (MCMC) simulation. This package was designed with the MCMC code pymcmcstat in mind; however, the plotting routines are amenable to other data sets. The plotting routines use matplotlib and seaborn. User's are recommended to investigate other plotting routines available in seaborn as it is specifically designed for this sort of analysis. The routines available in mcmcplot serve as a useful wrapper function for several seaborn plots, but it is not an exhaustive demonstration.
The code can be found on the Github project page. The package is available on the PyPI distribution site and the latest version can be installed via
pip install mcmcplot
The master branch typically matches the latest version on the PyPI distribution site. To install the master branch directly from Github,
pip install git+https://github.com/prmiles/mcmcplot.git
You can also clone the repository and run
python setup.py install.
The following examples demonstrate how to plot a set of randomly generated chains. For physically motivated examples, see the pymcmcstat tutorials.