bilby.core.sampler.ptemcee

Functions

calculate_tau_array(samples, ...)

Calculate the autocorrelation time for zero-temperature chains.

check_iteration(iteration, samples, sampler, ...)

Per-iteration logic to calculate the convergence check.

checkpoint(iteration, outdir, label, ...)

compute_evidence(sampler, ...[, make_plots])

Computes the evidence using thermodynamic integration

do_nothing_function()

This is a do-nothing function, we overwrite the likelihood and prior elsewhere

get_Q_convergence(samples)

Calculate the Gelman-Rubin statistic as an estimate of convergence for an ensemble of MCMC walkers.

get_max_gradient(x[, axis, window_length, ...])

Calculate the maximum value of the gradient in the input data.

get_minimum_stable_itertion(mean_array, frac)

plot_mean_log_posterior(mean_log_posterior, ...)

plot_tau(tau_list_n, tau_list, ...)

plot_walkers(walkers, nburn, thin, ...[, ...])

Method to plot the trace of the walkers in an ensemble MCMC plot

print_progress(iteration, sampler, ...)

Classes

ConvergenceInputs(autocorr_c, autocorr_tol, ...)

LikePriorEvaluator()

This class is copied and modified from ptemcee.LikePriorEvaluator, see https://github.com/willvousden/ptemcee for the original version

Ptemcee(likelihood, priors[, outdir, label, ...])

bilby wrapper ptemcee (https://github.com/willvousden/ptemcee)