bilby.gw.sampler.proposal.PolarisationPhaseJump
- class bilby.gw.sampler.proposal.PolarisationPhaseJump(priors=None)[source]
Bases:
JumpProposal
Correlated polarisation/phase jump proposal. Jumps between degenerate phi/psi regions.
- __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