ToolPythonIntermediate MCMC with emcee: the half-life and background of a counting experiment sampler.random_state = np.random.RandomState(93).get_state() # the sampler ignores rng (Pitfalls)open_sampler.random_state = np.random.RandomState(93).get_state()short.random_state = np.random.RandomState(93).get_state()
RecipePythonIntermediate Posterior predictive band from emcee samples: the counts to expect sampler.random_state = np.random.RandomState(93).get_state() # the only seed it obeys