1 #ifndef ULTRANEST_SAMPLER
2 #define ULTRANEST_SAMPLER
65 const char * root,
int ndim,
unsigned int nlive_points,
91 const double logwidth,
const double logVolremaining,
const double logZ,
point ** live_points
Storage for live points.
Definition: sampler.h:45
Constrained draw method: RadFriends/MCMC hybrid.
point * ultranest_sampler_next(ultranest_state *state)
Definition: sampler.c:302
unsigned int ndim
dimensionality
Definition: sampler.h:35
const char * root
Prefix of output files.
Definition: sampler.h:29
unsigned int nlive_points
number of live points
Definition: sampler.h:33
int ultranest_sampler_integrate_remainder(ultranest_state *state, const double logwidth, const double logVolremaining, const double logZ, weighted_point *points)
Definition: sampler.c:343
double remainderZerr
uncertainty on remainderZ
Definition: sampler.h:39
unsigned int ndraws
counter for number of draws
Definition: sampler.h:31
LikelihoodFunc
Likelihood function.
Definition: sampler.h:43
double remainderZ
current remainder integral
Definition: sampler.h:37
point * p
Coordinates.
Definition: sampler.h:19
ultranest_draw_state * draw_state
State of drawing method.
Definition: sampler.h:47
double Lmin
Likelihood constraint this point was drawn from.
Definition: sampler.h:21
unsigned int draws_prev_n
Size of storage from last run.
Definition: sampler.h:51
ultranest_state * ultranest_sampler_init(LikelihoodFunc, const char *root, int ndim, unsigned int nlive_points, ultranest_draw_state *draw_state)
Definition: sampler.c:260
FILE * draws_file
Output of draws from current run.
Definition: sampler.h:53
double Lmax
highest likelihood encountered
Definition: sampler.h:41
draw_point * draws_prev
Storage of last run.
Definition: sampler.h:49