32#ifndef TRIUMVIRATE_INCLUDE_PARAMETERS_HPP_INCLUDED_
33#define TRIUMVIRATE_INCLUDE_PARAMETERS_HPP_INCLUDED_
256 std::vector<std::string> data_catalogue_files;
257 std::vector<std::string> rand_catalogue_files;
std::string alignment
box alignment: {"centre" (default), "pad"}
std::string catalogue_columns
long long nmesh
number of mesh grid cells
double bin_min
measurement range minimum (in Mpc/h or h/Mpc)
std::string output_tag
output tag
std::string catalogue_dataset
catalogue dataset name/path (HDF5 catalogue files only)
double cutoff_nyq
Nyquist cutoff wavenumber or separation (in Mpc/h or h/Mpc)
std::string assignment
mesh assignment scheme: {"ngp", "cic", "tsc" (default), "pcs"}
std::string save_binned_vectors
int ELL
spherical degree associated with the line of sight
unsigned fftw_planner_flag
derived FFTW planner flag
int i_wa
first order of the wide-angle correction term
int print_to_file()
Print out extracted parameters to the default file path in the output measurement directory.
std::string catalogue_dir
catalogue directory
double padfactor
padding factor
ParameterSet()=default
Construct a parameter set.
std::string fftw_scheme
FFTW scheme: {"estimate", "measure" (default), "patient"}.
double volume
box volume (in Mpc^3/h^3)
~ParameterSet()=default
Destroy the parameter set.
int read_from_file(char *parameter_filepath)
Read parameters from a file.
std::string norm_convention
std::string statistic_type
std::string measurement_dir
measurement/output directory
std::string space
coordinate space: {"fourier", "config"}
std::string catalogue_type
catalogue type: {"survey", "random", "sim", "none"}
int ell1
spherical degree associated with the first wavevector
std::string fftw_wisdom_file_b
backward-transform wisdom file path
int num_bins
number of measurement bins
std::string padscale
padding scale (if alignment is "pad"): {"box" (default), "grid"}
std::string interlace
interlacing switch: {"true"/"on", "false"/"off" (default)}
double expand
box expansion factor (if boxsize is not given)
int assignment_order
order of the assignment scheme
std::string fftw_wisdom_file_f
derived FFTW wisdom file paths
int ell2
spherical degree associated with the second wavevector
int ngrid[3]
grid cell number in each dimension
std::string progbar
display a progress bar: {"true", "false" (default), <int-%-point>}
std::string data_catalogue_file
data catalogue file
std::string npoint
N-point case: {"2pt", "3pt", "none"}
int validate(bool init=false)
Validate parameters.
std::string rand_catalogue_file
random catalogue file
int idx_bin
fixed bin index in "off-fiag"/"row" form three-point measurements
int j_wa
second order of the wide-angle correction term
double boxsize[3]
box size (in Mpc/h) in each dimension
std::string use_fftw_wisdom
use FFTW wisdom: {"false" (default), <path-to-dir>}
double bin_max
measurement range maximum (in Mpc/h or h/Mpc)
Provide tracking of program resources and exceptions.
void set_ngrid_from_cutoff(trv::ParameterSet ¶ms)
Set the grid cell numbers from the box size and the Nyquist cutoff.
void set_boxsize_from_expand(const double *spans, trv::ParameterSet ¶ms)
Set the box size parameters from the box expansion factor.
void override_paramset_by_envvars(trv::ParameterSet ¶ms)
Override parameter set by environment variables.