- write_sampler_info(metadata, "", &std::cout);
-
- if (app.count("--autocorr")) {
- autocorrelation(chains, metadata, autocorr_idx, max_name_length);
- std::cout << std::endl;
- }
-
- // Write to csv file (optional)
- if (app.count("--csv_filename")) {
- std::ofstream csv_file(csv_filename.c_str(), std::ios_base::app);
- csv_file << std::setprecision(app.count("--sig_figs") ? sig_figs : 6);
-
- write_header(header, column_widths, max_name_length, true, &csv_file);
- write_params(chains, lp_param, column_widths, model_formats,
- max_name_length, sig_figs, 0, true, &csv_file);
- write_params(chains, sampler_params, column_widths, sampler_formats,
- max_name_length, sig_figs, 1, true, &csv_file);
- write_params(chains, model_params, column_widths, model_formats,
- max_name_length, sig_figs, model_params_offset, true,
- &csv_file);
-