Skip to content
Wrapper for offering a number of convenient parsing, analysis, and plotting scripts and functions for data/outputs generaged by emcee.
Python TeX
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.



Wrapper of providing convenient functions and scripts

phymcmc is a wrap of github/dfm/emcee. It provides a model class a parameter class to describe one's model and associated parameters. Having defined a model and a parameter instance, phymcmc functions, scripts and modules can be used to, e.g., fit the model to data to obtain so-called best-fit parameters; or obtain posterior parameter likelihood distributions (PostPLDs) based on the MCMC process implemented in emcee, save the results in a phymcmc-defined hdf5 file format. The phymcmc hdf5 files can be parsed/analysed by phymcmc-provided scripts to, e.g., draw diagnostic plots to evaluate whether the runs have converged, draw histograms of individual parameter's PostPLDs, draw pair-wise PostPLDs to identify correlations using github/dfm/, or obtain p-values when comparing parameter PostPLDs for 2 different sets of data (2 hdf5 files). It has been used in a number of publications by the phymbie research group. See the examples directory to get started.


If you make use of this code, make sure to cite it.

The BibTeX entry for the paper is:

        AUTHOR = "Catherine A. A. Beauchemin",
        TITLE = "{phymcmc}: {A} convenient wrapper for emcee",
        YEAR = "2019",
        PUBLISHER = "{GitHub}",
        JOURNAL = "{GitHub} repository",
        HOWPUBLISHED = "\url{}"


Copyright 2014-2019 Catherine Beauchemin and contributors.

phymcmc is free software made available under the GNU General Public License Version 3. For details see the LICENSE file.

You can’t perform that action at this time.