bilby.core.sampler.proposal.JumpProposal

class bilby.core.sampler.proposal.JumpProposal(priors=None)[source]

Bases: object

__init__(priors=None)[source]

A generic class for jump proposals

Parameters:
priors: bilby.core.prior.PriorDict

Dictionary of priors used in this sampling run

Attributes:
log_j: float

Log Jacobian of the proposal. Characterises whether or not detailed balance is preserved. If not, log_j needs to be adjusted accordingly.

__call__(sample, **kwargs)[source]

A generic wrapper for the jump proposal function

Parameters:
args: Arguments that are going to be passed into the proposal function
kwargs: Keyword arguments that are going to be passed into the proposal function
Returns:
dict: A dictionary with the new samples. Boundary conditions are applied.

Methods

__init__([priors])

A generic class for jump proposals