bilby.core.sampler.proposal.JumpProposalCycle

class bilby.core.sampler.proposal.JumpProposalCycle(proposal_functions, weights, cycle_length=100)[source]

Bases: object

__init__(proposal_functions, weights, cycle_length=100)[source]

A generic wrapper class for proposal cycles

Parameters:
proposal_functions: list

A list of callable proposal functions/objects

weights: list

A list of integer weights for the respective proposal functions

cycle_length: int, optional

Length of the proposal cycle

__call__(**kwargs)[source]

Call self as a function.

Methods

__init__(proposal_functions, weights[, ...])

A generic wrapper class for proposal cycles

update_cycle()

Attributes

index

proposal_functions

unnormalised_weights

weights

property weights
Returns:
Normalised proposal weights