sfof
|
Class for running the FoF algorithm. More...
#include <sfof.hpp>
Public Member Functions | |
void | read_options (int, char *[]) |
This method calls Option to read the code options from the provided arguments and/or the parameter file. More... | |
void | read_data () |
This method calls Fileio to read the input file and stores the data in Galaxy instances. More... | |
void | set_up_zbins () |
This method sets up redshift bins in Zbin instances. More... | |
void | assign_linking_param () |
This method assigns linking parameter values to Zbin instances. More... | |
void | check_results () |
This method checks how many cluster candidates have been detected. More... | |
void | make_kdtree () |
This method initialises a Kdtree instance. More... | |
void | background_counts () |
This method counts the number of background galaxies at each redshift. More... | |
void | find_friends () |
This method initialises a series of FoF instances for the corresponding Zbin instances. More... | |
void | merge_clusters () |
This method initialises a Merge instance. More... | |
void | assign_cluster_props () |
This method assigns properties to the Cluster instances. More... | |
void | output_results () |
This method calls Fileio to write the Cluster instances and corresponding member Galaxy instances to files. More... | |
Public Attributes | |
Comp | comp |
Include Comp class. More... | |
Private Attributes | |
Astro | astro |
Include Astro class. More... | |
Fileio | fileio |
Include Fileio class. More... | |
Kdtree | tree |
Include Kdtree class. More... | |
Option | opt |
Include Option class. More... | |
Spline | spline_nz |
Include Spline. More... | |
Spline | spline_bg |
int | num_bins |
Number of redshift bins. More... | |
std::string | param_file |
Option parameter file name. More... | |
std::vector< Zbin > | zbins |
Vector of Zbin instances. More... | |
std::vector< Galaxy > | galaxies |
Vector of Galaxy instances. More... | |
std::vector< Cluster > | clusters |
Vector of Cluster instances. More... | |
Class for running the FoF algorithm.
This class runs the friends-of-friends cluster detection algorithm.
void Main::assign_cluster_props | ( | ) |
This method assigns properties to the Cluster instances.
void Main::assign_linking_param | ( | ) |
This method assigns linking parameter values to Zbin instances.
A reference value is defined in order to ensure uniformity.
void Main::background_counts | ( | ) |
This method counts the number of background galaxies at each redshift.
void Main::check_results | ( | ) |
This method checks how many cluster candidates have been detected.
void Main::find_friends | ( | ) |
void Main::make_kdtree | ( | ) |
This method initialises a Kdtree instance.
void Main::merge_clusters | ( | ) |
This method initialises a Merge instance.
void Main::output_results | ( | ) |
void Main::read_data | ( | ) |
void Main::read_options | ( | int | argc, |
char * | argv[] | ||
) |
This method calls Option to read the code options from the provided arguments and/or the parameter file.
[in] | argc | Argument count. |
[in] | argv | Argument vector. |
void Main::set_up_zbins | ( | ) |
This method sets up redshift bins in Zbin instances.
|
private |
Number of redshift bins.
|
private |
Option parameter file name.
|
private |