plot_walkers

zdm.MCMC_analysis.plot_walkers(samples, labels, outfile, burnin=None, legend=True, xlim=None)[source]

Puts all walkers from all samples on one plot If you want different samples per plot, call this function multiple times

Parameters:
  • outfile (string) – name of outfile to print to

  • burnin (int) – length of initial burnin to discard

  • legend (bool) – Plot legend or not

  • xlim (None or [xmin,xmax] flots) – apply x limit, to zoom in for visibility purposes