bilby.bilby_mcmc.sampler.BilbyMCMCSampler

class bilby.bilby_mcmc.sampler.BilbyMCMCSampler(convergence_inputs, proposal_cycle=None, beta=1, Tindex=0, Eindex=0, use_ratio=False, initial_sample_method='prior', initial_sample_dict=None, normalize_prior=True)[source]

Bases: object

__init__(convergence_inputs, proposal_cycle=None, beta=1, Tindex=0, Eindex=0, use_ratio=False, initial_sample_method='prior', initial_sample_dict=None, normalize_prior=True)[source]
__call__(*args, **kwargs)

Call self as a function.

Methods

__init__(convergence_inputs[, ...])

accept_proposal(prop, proposal)

log_likelihood(sample)

log_prior(sample)

reject_proposal(curr, proposal)

rejection_sample_zero_temperature_samples([...])

set_convergence_inputs(convergence_inputs)

step()

Attributes

acceptance_ratio

nsamples

samples