ModeCode: Bayesian Parameter Estimation and Model Comparison for Inflation

 
 

DOWNLOADS:


Latest version:


Parameter Estimation, Model Comparison, and Slow Roll Reconstruction with ModeCode:


The latest version of ModeCode is interfaced with the Jan 2012 version of CosmoMC and the April 2011 version of MultiNest, in order to use ModeCode for parameter estimation and Bayesian model comparison. This version of ModeCode offers parameter estimation, model comparison, reconstruction of the inflationary dynamics, and functionality for constraining reheating physics. You will need to additionally download the current (Jan 2012) version of CosmoMC to install this code.


  1. BulletREADME (with code use description and installation instructions)

  2. BulletModeCode tarball



Old versions, retained for backward compatibility:


(1) Parameter estimation with ModeCode-CosmoMC:


This version of ModeCode is interfaced with the Jan 2011 version of CosmoMC, in order to use ModeCode for parameter estimation. Since the code is interfaced with an old version of CosmoMC, you may download the full tarball of the old version directly below.


  1. BulletREADME (with code use description and installation instructions)

  2. BulletModeCode-CosmoMC tarball

  3. BulletTarball (>100 Mb) of MCMC results from arXiv:1007.4205 (code release paper)


(2) Parameter Estimation and Model Comparison with ModeCode-MultiNest:


This version of ModeCode is interfaced with the Jan 2011 version of CosmoMC and the April 2011 version of MultiNest, in order to use ModeCode for parameter estimation and Bayesian model comparison. ModeCode-MultiNest provides increased functionality over ModeCode-CosmoMC for reheating physics. Since the code is interfaced with an old version of CosmoMC, you may download the full tarball of the old version directly below.


  1. BulletREADME (with code use description and installation instructions)

  2. BulletModeCode-MultiNest tarball


Please email the authors with any comments and bug reports.



BIBLIOGRAPHY:


We hope that you find ModeCode useful! If you use it in a publication, please cite the CosmoMC-ModeCode release paper: Mortonson, Peiris & Easther (2011) [BibTeX] and the MultiNest-ModeCode release paper: Easther & Peiris (2011) [BibTeX].


If you use ModeCode for the reconstruction of inflationary dynamics, please additionally cite the ModeCode-Reconstruction release paper: Norena, Wagner et al. (2012) [BibTex].


ModeCode is interfaced with CosmoMC [bibliography] and MultiNest [1, 2].


ModeCode is based on code previously used in Peiris et al. (2003) [BibTeX] and Mortonson, Dvorkin, Peiris & Hu (2009) [BibTeX]. It is modelled on the algorithm described in Adams, Cresswell and Easther (2001) [BibTeX].

Constraints on natural inflation from WMAP7 assuming instant reheating (red) and general reheating (grey). [Mortonson, Peiris, Easther (2011)]

This is the website for ModeCode, a publicly available code that computes the primordial scalar and tensor power spectra for single field inflationary models. ModeCode solves the inflationary mode equations numerically, avoiding the slow roll approximation. It provides an efficient and robust numerical evaluation of the inflationary perturbation spectrum, and allows the free parameters in the inflationary potential to be estimated. ModeCode also allows the estimation of reheating uncertainties once a potential has been specified.


We provide versions of ModeCode (1) interfaced with CAMB and CosmoMC to compute cosmic microwave background angular power spectra and perform likelihood analysis and parameter estimation, and (2) interfaced with CAMB, CosmoMC and MultiNest to do all of the above as well as performing Bayesian model comparison; (3) the latest version of ModeCode incorporates a module for implementing Slow Roll reconstruction of the inflationary dynamics. In addition, ModeCode can be run as a standalone code. Errors in the results from ModeCode contribute negligibly to the error budget for analyses of data from Planck or other next generation experiments.

Constraints on hilltop inflation from WMAP7, illustrating sampling from non-trivial likelihood topologies and multimodal parameter spaces. [Easther and Peiris (2011)]