MontePython is a Monte Carlo code in Python designed for parameter inference in cosmology. It is modular, featuring several samplers (Metropolis-Hastings, importance sampling, Fisher matrix mode, and interfaces with Multicast, PolyChord and CosmoHammer), many likelihoods (CMB, LSS, BAO, supernova, etc.), and an interface with CLASS. Its Metropolis-hastings algorithm is boosted with a ‘super update’ feature that finds automatically the best jumping factor as a function fo the posteriori properties. It also features fast-slow parameters with oversampling. In ‘info’ mode it creates plots and files showing the results.
Link to source: https://github.com/brinckmann/montepython_public
Related papers: