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
Methods
__init__
(proposal_functions, weights[, ...])A generic wrapper class for proposal cycles
update_cycle
()Attributes
index
proposal_functions
unnormalised_weights
- Returns:
- property weights
- Returns:
- Normalised proposal weights