![]() |
GLASS
Global LISA Analysis Software Suite
|
Prototype structure for proposal distributions. More...
#include <glass_ucb_proposal.h>
Public Attributes | |
double(* | function )(struct Data *, struct Model *, struct Source *, struct Proposal *, double *, gsl_rng *) |
Function that generates updated source parameters. More... | |
double(* | density )(struct Data *, struct Model *, struct Source *, struct Proposal *, double *) |
Compute proposal density given parameters. More... | |
int * | trial |
total number of trials for proposal | |
int * | accept |
total number of accepted trials for proposals*/ | |
char | name [128] |
string identifying proposal type | |
double | norm |
proposal normalization | |
double | maxp |
max value of proposal density for rejection sampling | |
double | weight |
proposal weight [0,1] for fixed dimension moves | |
double | rjweight |
proposal weight [0,1] for trans dimensional moves | |
int | size |
size of proposal arrays | |
double * | vector |
utility 1D array for proposal metadata | |
double ** | matrix |
utility 2D array for proposal metadata | |
double *** | tensor |
utility 3D array for proposal metadata | |
Gaussian mixture model | |
size_t | Ngmm |
number of mixture models (1/source) | |
struct GMM ** | gmm |
array of individual mixture models | |
Prototype structure for proposal distributions.
Generic data structure for holding all information needed by proposal distributions. Structure contains function for drawing new parameters, evaluating the proposal density, tracking acceptance ratios, and various book-keeping scalars, vectors, and matrices to hold needed metadata.
double(* Proposal::density) (struct Data *, struct Model *, struct Source *, struct Proposal *, double *) |
Compute proposal density given parameters.
[in] | params | parameter vector |
[out] | logQ | proposal density |
double(* Proposal::function) (struct Data *, struct Model *, struct Source *, struct Proposal *, double *, gsl_rng *) |
Function that generates updated source parameters.
params | parameter vector |