sfof
|
Class for reading code options. More...
#include <option_class.hpp>
Public Member Functions | |
void | read_opts (int, char *[], double) |
This method reads options provided as arguments for Main. More... | |
void | read_merge_opts (int, char *[], double) |
This method reads options provided as arguments for Cat_Merge. More... | |
void | read_split_opts (int, char *[], double) |
This method reads options provided as arguments for Cat_Split. More... | |
Public Attributes | |
int | min_ngal |
Minimum number of member Galaxy instances required to form a Cluster instance. More... | |
int | max_ngal |
Maximum number of member Galaxy allowed to form a Cluster instance. More... | |
int | n_ra_bins |
Number of bins in right ascension. More... | |
int | n_dec_bins |
Number of bins in declination. More... | |
int | n_procs |
Number of processes. More... | |
double | link_r |
Transverse linking parameter. More... | |
double | link_z |
Line-of-sight linking parameter. More... | |
double | z_bin_size |
Redshift bin size. More... | |
double | z_min |
Minimum redshift allowed. More... | |
double | z_max |
Maximum redshift allowed. More... | |
double | z_ref |
Reference redshift for calculations. More... | |
double | z_err_max |
Maxmimum photometric redshift error allowed. More... | |
std::string | nz_data |
Input file name for N(z) data. More... | |
double | c |
Speed of light [km/s]. More... | |
double | H0 |
Hubble parameter [km/s/Mpc]. More... | |
double | omega_m |
Matter density. More... | |
double | omega_l |
Dark energy density. More... | |
double | ra_lower |
Minimum right ascension of range. More... | |
double | ra_upper |
Maximum right ascension of range. More... | |
double | dec_lower |
Minimum declination of range. More... | |
double | dec_upper |
Maximum declination of range. More... | |
double | ra_overlap |
Overlap in right ascension. More... | |
double | dec_overlap |
Overlap in declination. More... | |
std::string | config_file |
Configuration File. More... | |
std::string | input_file |
Input file name. More... | |
std::string | output_clusters |
Output cluster file name. More... | |
std::string | output_members |
Output member file name. More... | |
std::string | output_file |
Output file name. More... | |
bool | print_bin_data |
Option to print Zbin data. More... | |
bool | print_kdtree_data |
Option to print kd-tree data. More... | |
bool | print_bg_data |
Option to print background data. More... | |
std::string | bg_data |
Input file name for background data. More... | |
std::string | input_mode |
Input mode ["ascii"/"fits"]. More... | |
std::string | output_mode |
Output mode ["ascii"/"fits"]. More... | |
std::string | fof_mode |
FoF mode ["spec"/"phot"]. More... | |
std::string | link_mode |
FoF linking mode ["dynamic"/"fixed"]. More... | |
std::string | size_units |
Cluser size units ["arcmin"/"deg"/"Mpc"]. More... | |
Private Member Functions | |
void | version (double) |
This method prints the code version number. More... | |
void | print_parameters () |
This method prints the current parameter values. More... | |
Class for reading code options.
This class reads the code options as arguments or from a parameter file.
|
private |
This method prints the current parameter values.
void Option::read_merge_opts | ( | int | argc, |
char * | argv[], | ||
double | version_number | ||
) |
This method reads options provided as arguments for Cat_Merge.
[in] | argc | Argument count. |
[in] | argv | Argument vector. |
[in] | version_number | Code version number. |
void Option::read_opts | ( | int | argc, |
char * | argv[], | ||
double | version_number | ||
) |
This method reads options provided as arguments for Main.
[in] | argc | Argument count. |
[in] | argv | Argument vector. |
[in] | version_number | Code version number. |
void Option::read_split_opts | ( | int | argc, |
char * | argv[], | ||
double | version_number | ||
) |
This method reads options provided as arguments for Cat_Split.
[in] | argc | Argument count. |
[in] | argv | Argument vector. |
[in] | version_number | Code version number. |
|
private |
This method prints the code version number.
std::string Option::bg_data |
Input file name for background data.
double Option::c |
Speed of light [km/s].
std::string Option::config_file |
Configuration File.
double Option::dec_lower |
Minimum declination of range.
double Option::dec_overlap |
Overlap in declination.
double Option::dec_upper |
Maximum declination of range.
std::string Option::fof_mode |
FoF mode ["spec"/"phot"].
double Option::H0 |
Hubble parameter [km/s/Mpc].
std::string Option::input_file |
Input file name.
std::string Option::input_mode |
Input mode ["ascii"/"fits"].
std::string Option::link_mode |
FoF linking mode ["dynamic"/"fixed"].
double Option::link_r |
Transverse linking parameter.
double Option::link_z |
Line-of-sight linking parameter.
int Option::n_dec_bins |
Number of bins in declination.
int Option::n_procs |
Number of processes.
int Option::n_ra_bins |
Number of bins in right ascension.
std::string Option::nz_data |
Input file name for N(z) data.
double Option::omega_l |
Dark energy density.
double Option::omega_m |
Matter density.
std::string Option::output_clusters |
Output cluster file name.
std::string Option::output_file |
Output file name.
std::string Option::output_members |
Output member file name.
std::string Option::output_mode |
Output mode ["ascii"/"fits"].
bool Option::print_bg_data |
Option to print background data.
bool Option::print_kdtree_data |
Option to print kd-tree data.
double Option::ra_lower |
Minimum right ascension of range.
double Option::ra_overlap |
Overlap in right ascension.
double Option::ra_upper |
Maximum right ascension of range.
std::string Option::size_units |
Cluser size units ["arcmin"/"deg"/"Mpc"].
double Option::z_bin_size |
Redshift bin size.
double Option::z_err_max |
Maxmimum photometric redshift error allowed.
double Option::z_max |
Maximum redshift allowed.
double Option::z_min |
Minimum redshift allowed.
double Option::z_ref |
Reference redshift for calculations.