main
qemcmc.main ¶
ProgressProposal ¶
Wraps a proposal so each chain records its hop count to its own file.
MCMCRunner.run only ever calls proposer.update(), so this needs no cooperation
from the runner. Chains run in separate processes, so a file is the simplest thing they
can all write to without the parent having to coordinate them.
Source code in src/qemcmc/main.py
ChainProgress ¶
run_arm ¶
Run REPS independent chains for one proposal method and add them to the current plot.
Source code in src/qemcmc/main.py
annotate_below_legend ¶
Place text directly under the legend box, in axes coordinates.