ASCL.net

Astrophysics Source Code Library

Making codes discoverable since 1999

ASCL Code Record

[ascl:1303.002] emcee: The MCMC Hammer

emcee is an extensible, pure-Python implementation of Goodman & Weare's Affine Invariant Markov chain Monte Carlo (MCMC) Ensemble sampler. It's designed for Bayesian parameter estimation. The algorithm behind emcee has several advantages over traditional MCMC sampling methods and has excellent performance as measured by the autocorrelation time (or function calls per independent sample). One advantage of the algorithm is that it requires hand-tuning of only 1 or 2 parameters compared to $sim N^2$ for a traditional algorithm in an N-dimensional parameter space. Exploiting the parallelism of the ensemble method, emcee permits any user to take advantage of multiple CPU cores without extra effort.

Code site:
https://emcee.readthedocs.io/en/v3.1.3/
Used in:
https://ui.adsabs.harvard.edu/abs/2012ApJ...752..147D
Described in:
https://ui.adsabs.harvard.edu/abs/2013PASP..125..306F
Bibcode:
2013ascl.soft03002F

Views: 13890

ascl:1303.002
Add this shield to your page
Copy the above HTML to add this shield to your code's website.