nessai.proposal.base
Base object for all proposal classes.
Module Contents
Classes
Base proposal object |
- class nessai.proposal.base.Proposal(model)
Bases:
abc.ABC
Base proposal object
- Parameters:
- model: obj
User-defined model
- property initialised
Boolean that indicates if the proposal is initialised or not.
- initialise()
Initialise the proposal
- evaluate_likelihoods()
Evaluate the likelihoods for the pool of live points.
- abstract draw(old_param)
New a new point given the old point
- train(x, **kwargs)
Train the proposal method
- Parameters:
- x: array_like
Array of live points to use for training
- kwargs:
Any of keyword arguments
- resume(model)
Resume the proposal with the model