Ensemble Markov-Chain Monte Carlo sampler written for LALInference. More...
Prototypes | |
| void | ensemble_sampler (LALInferenceRunState *run_state) |
| The sampling algorithm. More... | |
| void | walker_step (LALInferenceRunState *run_state, LALInferenceThreadState *thread, REAL8 *proposed_prior, REAL8 *proposed_likelihood, REAL8 *proposed_prop_density) |
| Evolve a walker a single step. More... | |
| REAL8 | get_acceptance_rate (LALInferenceRunState *run_state, REAL8 *local_acceptance_rates) |
| Update the ensemble proposal from the ensemble's current state. More... | |
| void | ensemble_update (LALInferenceRunState *run_state) |
| void | parallel_incremental_kmeans (LALInferenceRunState *run_state, REAL8 *samples, INT4 nwalkers, INT4 cyclic_reflective) |
| FILE * | init_ensemble_output (LALInferenceRunState *run_state, INT4 verbose, INT4 rank) |
| void | print_samples (LALInferenceRunState *run_state, FILE *output, REAL8 *prop_priors, REAL8 *prop_likelihoods, REAL8 *prop_densities, REAL8 *acceptance_rates, INT4 rank) |
| void | print_evidence (LALInferenceRunState *run_state, FILE *output, REAL8 *logprior, REAL8 *loglike, REAL8 *prop_density) |
| void | print_proposed_sample (LALInferenceThreadState *thread) |
| char * | ensemble_output_name (const char *out_type, INT4 rank) |
| FILE * | print_ensemble_header (LALInferenceRunState *run_state, INT4 rank) |
| void | print_proposal_header (LALInferenceRunState *run_state, INT4 rank) |
Ensemble Markov-Chain Monte Carlo sampler written for LALInference.
Ensemble Markov-Chain Monte Carlo sampler.
Definition in file LALInferenceKombineSampler.h.
Go to the source code of this file.
| void ensemble_sampler | ( | LALInferenceRunState * | run_state | ) |
The sampling algorithm.
| void walker_step | ( | LALInferenceRunState * | run_state, |
| LALInferenceThreadState * | thread, | ||
| REAL8 * | proposed_prior, | ||
| REAL8 * | proposed_likelihood, | ||
| REAL8 * | proposed_prop_density | ||
| ) |
Evolve a walker a single step.
Definition at line 163 of file LALInferenceKombineSampler.c.
| REAL8 get_acceptance_rate | ( | LALInferenceRunState * | run_state, |
| REAL8 * | local_acceptance_rates | ||
| ) |
Update the ensemble proposal from the ensemble's current state.
Definition at line 203 of file LALInferenceKombineSampler.c.
| void ensemble_update | ( | LALInferenceRunState * | run_state | ) |
Definition at line 234 of file LALInferenceKombineSampler.c.
| void parallel_incremental_kmeans | ( | LALInferenceRunState * | run_state, |
| REAL8 * | samples, | ||
| INT4 | nwalkers, | ||
| INT4 | cyclic_reflective | ||
| ) |
Definition at line 271 of file LALInferenceKombineSampler.c.
| FILE * init_ensemble_output | ( | LALInferenceRunState * | run_state, |
| INT4 | verbose, | ||
| INT4 | rank | ||
| ) |
Definition at line 384 of file LALInferenceKombineSampler.c.
| void print_samples | ( | LALInferenceRunState * | run_state, |
| FILE * | output, | ||
| REAL8 * | prop_priors, | ||
| REAL8 * | prop_likelihoods, | ||
| REAL8 * | prop_densities, | ||
| REAL8 * | acceptance_rates, | ||
| INT4 | rank | ||
| ) |
Definition at line 409 of file LALInferenceKombineSampler.c.
| void print_evidence | ( | LALInferenceRunState * | run_state, |
| FILE * | output, | ||
| REAL8 * | logprior, | ||
| REAL8 * | loglike, | ||
| REAL8 * | prop_density | ||
| ) |
Definition at line 489 of file LALInferenceKombineSampler.c.
| void print_proposed_sample | ( | LALInferenceThreadState * | thread | ) |
Definition at line 474 of file LALInferenceKombineSampler.c.
Definition at line 400 of file LALInferenceKombineSampler.c.
| FILE * print_ensemble_header | ( | LALInferenceRunState * | run_state, |
| INT4 | rank | ||
| ) |
Definition at line 519 of file LALInferenceKombineSampler.c.
| void print_proposal_header | ( | LALInferenceRunState * | run_state, |
| INT4 | rank | ||
| ) |
Definition at line 674 of file LALInferenceKombineSampler.c.