33 #include <gsl/gsl_specfunc.h>
35 #include <boost/numeric/ublas/vector.hpp>
36 #include <boost/numeric/ublas/matrix.hpp>
38 #include <o2scl/table.h>
39 #include <o2scl/table3d.h>
40 #include <o2scl/format_float.h>
41 #include <o2scl/vec_stats.h>
42 #include <o2scl/contour.h>
43 #include <o2scl/hist.h>
44 #include <o2scl/hdf_io.h>
45 #include <o2scl/expval.h>
46 #include <o2scl/interp.h>
47 #include <o2scl/vector.h>
48 #include <o2scl/hist.h>
51 #include <o2scl/cli_readline.h>
53 #include <o2scl/cli.h>
150 int auto_corr(std::vector<std::string> &sv,
bool itive_com);
154 int xlimits(std::vector<std::string> &sv,
bool itive_com);
158 int ylimits(std::vector<std::string> &sv,
bool itive_com);
169 int hist(std::vector<std::string> &sv,
bool itive_com);
174 int hist2(std::vector<std::string> &sv,
bool itive_com);
179 int hist_set(std::vector<std::string> &sv,
bool itive_com);
183 int combine(std::vector<std::string> &sv,
bool itive_com);
187 int contours(std::vector<std::string> &sv,
bool itive_com);
200 void run(
int argc,
char *argv[]);
bool yset
If true, y limits are set.
bool logy
If true, use a logarithmic y scale.
int hist_size_int
Histogram size.
void run(int argc, char *argv[])
Main public interface.
std::vector< double > cont_levels
Contour levels set in 'contours'.
double user_ylow
Lower y value.
int verbose
Verbosity (default 1)
const double one_sigma
The one-sigma limit of a normal distribution, 0.6827.
int n_blocks
Number of blocks.
double user_yhigh
Upper y value.
process()
Create the process object.
int hist_set(std::vector< std::string > &sv, bool itive_com)
Create a set of histograms from a set of columns in the bamr MCMC output.
int ylimits(std::vector< std::string > &sv, bool itive_com)
Set limits for the y-axis.
double user_xhigh
Upper x value.
virtual void setup_cli()
Desc.
int contours(std::vector< std::string > &sv, bool itive_com)
Specify which contour levels to use.
const double two_sigma
The two-sigma limit of a normal distribution, 0.9545.
std::string constraint
Constraint to apply to the data.
Processing MCMC data from bamr.
o2scl::format_float ff
Formatter for floating point numbers.
bool errors
If true, plot errors in 1d.
int hist2(std::vector< std::string > &sv, bool itive_com)
Create a two-dimensional histogram from two user-specified columns.
bool xset
If true, x limits are set.
bool logx
If true, use a logarithmic x scale.
double xscale
Scale for x-axis.
int hist(std::vector< std::string > &sv, bool itive_com)
Create a histogram from a specified column.
int auto_corr(std::vector< std::string > &sv, bool itive_com)
Create a table of autocorrelation data from a specified column.
int combine(std::vector< std::string > &sv, bool itive_com)
Combine several bamr output files.
double user_xlow
Lower x value.
bool logz
If true, use a logarithmic z scale.
int line_start
Ignore all lines before start.
const double three_sigma
The three-sigma limit of a normal distribution, 0.9973.
int xlimits(std::vector< std::string > &sv, bool itive_com)
Set limits for the x-axis.
double yscale
Scale for y-axis.