APEMoST
Defines | Functions

src/analyse.c File Reference

#include <omp.h>
#include "mcmc.h"
#include "parallel_tempering_config.h"
#include "debug.h"
#include "define_defaults.h"
#include "gsl_helper.h"
#include "parallel_tempering_run.h"
#include "histogram.h"
#include "utils.h"

Defines

#define NBINS   200
#define HISTOGRAMS_MINMAX
#define GNUPLOT_STYLE   "with histeps"

Functions

void analyse_data_probability ()
double calc_mcmc_error (const double mean, const char *filename, unsigned long batchsize)
void calc_marginal_distribution (mcmc **chains, unsigned int n_beta, unsigned int param, int find_minmax)
void analyse_marginal_distributions ()

Define Documentation

#define GNUPLOT_STYLE   "with histeps"
#define HISTOGRAMS_MINMAX

If not set, the marginal distribution will be calculated for the whole parameter range. Pros: faster, comparable. Cons: Not as detailed.

If set, the maximum and minimum values found are used for the histogram. Pros: more detailed in the area of interest

#define NBINS   200

Function Documentation

void analyse_data_probability ( )
void analyse_marginal_distributions ( )
void calc_marginal_distribution ( mcmc **  chains,
unsigned int  n_beta,
unsigned int  param,
int  find_minmax 
)
double calc_mcmc_error ( const double  mean,
const char *  filename,
unsigned long  batchsize 
)

References openfile().

Referenced by calc_marginal_distribution().