Triumvirate C++ API 0.5.0
Three-point clustering measurements in large-scale structure analyses.
Loading...
Searching...
No Matches
trv::io Namespace Reference

Functions

void print_measurement_header_to_file (std::FILE *fileptr, trv::ParameterSet &params, 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 print_measurement_header_to_file (std::FILE *fileptr, trv::ParameterSet &params, 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 print_binned_vectors_to_file (std::FILE *fileptr, trv::ParameterSet &params, trv::BinnedVectors &binned_vectors)
 Print binned vectors to a file.
 
void print_measurement_datatab_to_file (std::FILE *fileptr, trv::ParameterSet &params, trv::PowspecMeasurements &meas_powspec)
 Print measurements as a data table to a file.
 
void print_measurement_datatab_to_file (std::FILE *fileptr, trv::ParameterSet &params, trv::TwoPCFMeasurements &meas_2pcf)
 Print measurements as a data table to a file.
 
void print_measurement_datatab_to_file (std::FILE *fileptr, trv::ParameterSet &params, trv::TwoPCFWindowMeasurements &meas_2pcf_win)
 Print measurements as a data table to a file.
 
void print_measurement_datatab_to_file (std::FILE *fileptr, trv::ParameterSet &params, trv::BispecMeasurements &meas_bispec)
 Print measurements as a data table to a file.
 
void print_measurement_datatab_to_file (std::FILE *fileptr, trv::ParameterSet &params, trv::ThreePCFMeasurements &meas_3pcf)
 Print measurements as a data table to a file.
 
void print_measurement_datatab_to_file (std::FILE *fileptr, trv::ParameterSet &params, trv::ThreePCFWindowMeasurements &meas_3pcf_win)
 Print measurements as a data table to a file.
 

Function Documentation

◆ print_measurement_header_to_file() [1/2]

void trv::io::print_measurement_header_to_file ( std::FILE * fileptr,
trv::ParameterSet & params,
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.

Parameters
fileptrFile to print to.
paramsParameter set.
catalogue_data(Data-source) particle catalogue.
catalogue_rand(Random-source) particle catalogue.
norm_factor_partParticle-based normalisation factor.
norm_factor_meshMesh-based normalisation factor.
norm_factor_meshesNormalisation factor based on mixed meshes.

Definition at line 100 of file io.cpp.

+ Here is the caller graph for this function:

◆ print_measurement_header_to_file() [2/2]

void trv::io::print_measurement_header_to_file ( std::FILE * fileptr,
trv::ParameterSet & params,
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.

Parameters
fileptrFile to print to.
paramsParameter set.
catalogueParticle catalogue.
norm_factor_partParticle-based normalisation factor.
norm_factor_meshMesh-based normalisation factor.
norm_factor_meshesNormalisation factor based on mixed meshes.

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 210 of file io.cpp.

◆ print_binned_vectors_to_file()

void trv::io::print_binned_vectors_to_file ( std::FILE * fileptr,
trv::ParameterSet & params,
trv::BinnedVectors & binned_vectors )

Print binned vectors to a file.

Parameters
fileptrFile to print to.
paramsParameter set.
binned_vectorsBinned vectors.

Definition at line 303 of file io.cpp.

◆ print_measurement_datatab_to_file() [1/6]

void trv::io::print_measurement_datatab_to_file ( std::FILE * fileptr,
trv::ParameterSet & params,
trv::PowspecMeasurements & meas_powspec )

Print measurements as a data table to a file.

Parameters
fileptrFile to print to.
paramsParameter set.
meas_powspecPower spectrum measurements.

Definition at line 358 of file io.cpp.

+ Here is the caller graph for this function:

◆ print_measurement_datatab_to_file() [2/6]

void trv::io::print_measurement_datatab_to_file ( std::FILE * fileptr,
trv::ParameterSet & params,
trv::TwoPCFMeasurements & meas_2pcf )

Print measurements as a data table to a file.

Parameters
fileptrFile to print to.
paramsParameter set.
meas_2pcfTwo-point correlation function measurements.

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 387 of file io.cpp.

◆ print_measurement_datatab_to_file() [3/6]

void trv::io::print_measurement_datatab_to_file ( std::FILE * fileptr,
trv::ParameterSet & params,
trv::TwoPCFWindowMeasurements & meas_2pcf_win )

Print measurements as a data table to a file.

Parameters
fileptrFile to print to.
paramsParameter set.
meas_2pcf_winTwo-point correlation function window measurements.

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 412 of file io.cpp.

◆ print_measurement_datatab_to_file() [4/6]

void trv::io::print_measurement_datatab_to_file ( std::FILE * fileptr,
trv::ParameterSet & params,
trv::BispecMeasurements & meas_bispec )

Print measurements as a data table to a file.

Parameters
fileptrFile to print to.
paramsParameter set.
meas_bispecBispectrum measurements.

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 442 of file io.cpp.

◆ print_measurement_datatab_to_file() [5/6]

void trv::io::print_measurement_datatab_to_file ( std::FILE * fileptr,
trv::ParameterSet & params,
trv::ThreePCFMeasurements & meas_3pcf )

Print measurements as a data table to a file.

Parameters
fileptrFile to print to.
paramsParameter set.
meas_3pcfThree-point correlation function measurements.

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 479 of file io.cpp.

◆ print_measurement_datatab_to_file() [6/6]

void trv::io::print_measurement_datatab_to_file ( std::FILE * fileptr,
trv::ParameterSet & params,
trv::ThreePCFWindowMeasurements & meas_3pcf_win )

Print measurements as a data table to a file.

Parameters
fileptrFile to print to.
paramsParameter set.
meas_3pcf_winThree-point correlation function window measurements.

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 516 of file io.cpp.