|
Triumvirate C++ API 0.5.0
Three-point clustering measurements in large-scale structure analyses.
|
I/O support including custom exceptions and utility functions. More...
#include <sys/stat.h>#include <filesystem>#include <string>#include <system_error>#include "parameters.hpp"#include "particles.hpp"#include "dataobjs.hpp"
Include dependency graph for io.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Namespaces | |
| namespace | trv |
| namespace | trv::sys |
| namespace | trv::io |
Functions | |
| bool | trv::sys::if_filepath_is_set (const std::string &pathstr) |
| Check if a file path is set. | |
| void | trv::sys::make_write_dir (std::string dirstr) |
| Make write directory. | |
| void | trv::io::print_measurement_header_to_file (std::FILE *fileptr, trv::ParameterSet ¶ms, trv::ParticleCatalogue &catalogue_data, trv::ParticleCatalogue &catalogue_rand, double norm_factor_part, double norm_factor_mesh, double norm_factor_meshes) |
| Print the pre-measurement header to a file including information about the catalogue(s) and mesh grid assignment. | |
| void | trv::io::print_measurement_header_to_file (std::FILE *fileptr, trv::ParameterSet ¶ms, trv::ParticleCatalogue &catalogue, double norm_factor_part, double norm_factor_mesh, double norm_factor_meshes) |
| Print the pre-measurement header to a file including information about the catalogue(s) and mesh grid assignment. | |
| void | trv::io::print_binned_vectors_to_file (std::FILE *fileptr, trv::ParameterSet ¶ms, trv::BinnedVectors &binned_vectors) |
| Print binned vectors to a file. | |
| void | trv::io::print_measurement_datatab_to_file (std::FILE *fileptr, trv::ParameterSet ¶ms, trv::PowspecMeasurements &meas_powspec) |
| Print measurements as a data table to a file. | |
| void | trv::io::print_measurement_datatab_to_file (std::FILE *fileptr, trv::ParameterSet ¶ms, trv::TwoPCFMeasurements &meas_2pcf) |
| Print measurements as a data table to a file. | |
| void | trv::io::print_measurement_datatab_to_file (std::FILE *fileptr, trv::ParameterSet ¶ms, trv::TwoPCFWindowMeasurements &meas_2pcf_win) |
| Print measurements as a data table to a file. | |
| void | trv::io::print_measurement_datatab_to_file (std::FILE *fileptr, trv::ParameterSet ¶ms, trv::BispecMeasurements &meas_bispec) |
| Print measurements as a data table to a file. | |
| void | trv::io::print_measurement_datatab_to_file (std::FILE *fileptr, trv::ParameterSet ¶ms, trv::ThreePCFMeasurements &meas_3pcf) |
| Print measurements as a data table to a file. | |
| void | trv::io::print_measurement_datatab_to_file (std::FILE *fileptr, trv::ParameterSet ¶ms, trv::ThreePCFWindowMeasurements &meas_3pcf_win) |
| Print measurements as a data table to a file. | |
I/O support including custom exceptions and utility functions.
Definition in file io.hpp.