Package gmisclib :: Module mcmc_pypar
[frames] | no frames]

Module mcmc_pypar

source code

This is a helper module to make use of mcmc.py and mcmc_big.py. It allows you to conveniently run a Monte-Carlo simulation of any kind until it converges (stepper.run_to_bottom) or until it has explored a large chunk of parameter space (stepper.run_to_ergodic).

It also helps you with logging the process.

Classes
  stepper
Functions
 
Reduce(x, root) source code
 
precompute_logp(lop)
Does a parallel evaluation of logp for all items in lop.
source code
 
is_root() source code
 
size() source code
 
test_opt() source code

Imports: sys, mpi, operator, random, die, Num, mcmc, MCH, TooManyLoops, warnevery, test, logger_template