![]() |
CosmoBolognaLib
Free Software C++/Python libraries for cosmological calculations
|
The namespace of the functions and classes used to handle catalogues of astronomical sources More...
Classes | |
struct | MaskObject |
object that encapsulate the mask function. More... | |
struct | Gadget_Header |
This structure allows to store GADGET header. More... | |
struct | SubFindTab_Header |
This structure allows to store SUBFIND Tab file header. More... | |
class | Catalogue |
The class Catalogue. More... | |
class | ChainMeshCell |
The class ChainMeshCell. More... | |
class | Cluster |
The class Cluster. More... | |
class | Galaxy |
The class Galaxy. More... | |
class | Halo |
The class CatalogueChainMesh. More... | |
class | HostHalo |
The class HostHalo. More... | |
class | Mock |
The class Mock. More... | |
class | Object |
The class Object. More... | |
class | RandomObject |
The class RandomObject. More... | |
class | Void |
The class Void. More... | |
Typedefs | |
typedef std::function< bool(const std::shared_ptr< Object > obj)> | mask_function |
Definition of a new type to manage mask function. More... | |
Functions | |
std::vector< std::string > | VarNames () |
return a vector containing the Var names More... | |
Var | VarCast (const int varIndex) |
cast an enum of type Var from its index More... | |
Var | VarCast (const std::string varName) |
cast an enum of type Var from its name More... | |
std::vector< Var > | VarCast (const std::vector< int > varIndeces) |
cast an enum of type Var from indeces More... | |
std::vector< Var > | VarCast (const std::vector< std::string > varNames) |
cast an enum of type Var from thier names More... | |
std::vector< std::string > | RandomTypeNames () |
return a vector containing the RandomType names More... | |
RandomType | RandomTypeCast (const int randomTypeIndex) |
cast an enum of type RandomType from its index More... | |
RandomType | RandomTypeCast (const std::string randomTypeName) |
cast an enum of type RandomType from its name More... | |
std::vector< RandomType > | RandomTypeCast (const std::vector< int > randomTypeIndeces) |
cast an enum of type RandomType from indeces More... | |
std::vector< RandomType > | RandomTypeCast (const std::vector< std::string > randomTypeNames) |
cast an enum of type RandomType from thier names More... | |
std::vector< std::string > | HODTypeNames () |
return a vector containing the HODTypes names More... | |
std::vector< std::string > | VoidAlgorithmNames () |
return a vector containing the VoidAlgorithm names More... | |
std::vector< std::string > | CharEncodeNames () |
return a vector containing the CharEncode names More... | |
std::vector< std::string > | EstimateCriterionNames () |
return a vector containing the EstimateCriterion names More... | |
EstimateCriterion | EstimateCriterionCast (const int estimateCriterionIndex) |
cast an enum of type EstimateCriterion from its index More... | |
EstimateCriterion | EstimateCriterionCast (const std::string estimateCriterionName) |
cast an enum of type EstimateCriterion from its name More... | |
std::vector< EstimateCriterion > | EstimateCriterionCast (const std::vector< int > estimateCriterionIndeces) |
cast an enum of type EstimateCriterion from indeces More... | |
std::vector< EstimateCriterion > | EstimateCriterionCast (const std::vector< std::string > estimateCriterionNames) |
cast an enum of type EstimateCriterion from thier names More... | |
double | Average_c_Zehavi_2011 (const double x, const double logMmin, const double logsigma_c) |
return the average number of central galaies inside an halo of mass x More... | |
double | Average_s_Zehavi_2011 (const double x, const double M0, const double M1, const double alpha) |
return the average number of satellite galaies per halo of mass x More... | |
double | Average_c_Zehavi_2005 (const double x, const double Mmin) |
return the average number of central galaies inside an halo of mass x More... | |
double | Average_s_Zehavi_2005 (const double x, const double alpha, const double M1) |
return the average number of satellite galaies per halo of mass x More... | |
std::vector< std::string > | ObjectTypeNames () |
return a vector containing the ObjectType names More... | |
ObjectType | ObjectTypeCast (const int objectTypeIndex) |
cast an enum of type ObjectType from its index More... | |
ObjectType | ObjectTypeCast (const std::string objectTypeName) |
cast an enum of type ObjectType from its name More... | |
std::vector< ObjectType > | ObjectTypeCast (const std::vector< int > objectTypeIndeces) |
cast an enum of type ObjectType from indeces More... | |
std::vector< ObjectType > | ObjectTypeCast (const std::vector< std::string > objectTypeNames) |
cast an enum of type ObjectType from thier names More... | |
The namespace of the functions and classes used to handle catalogues of astronomical sources
The catalogue namespace contains all the functions and classes used to handle catalogues of astronomical sources
typedef std::function<bool(const std::shared_ptr<Object> obj)> cbl::catalogue::mask_function |
Definition of a new type to manage mask function.
This function can contain one or more checks on object variables, returning a bool
obj | pointer to an object of type cbl::catalogue::Object |
Definition at line 266 of file Catalogue.h.
|
strong |
character encoding of input file
Enumerator | |
---|---|
_ascii_ | Format ASCII file. |
_binary_ | Format binary file. |
Definition at line 476 of file Catalogue.h.
|
strong |
type of HOD catalogue, which corresponds to the authors of the calibrated HOD model
catalogue
Enumerator | |
---|---|
_Zehavi05_ | Zehavi et al. (2005) |
_Zehavi11_ | Zehavi et al. (2011) |
_Moster10_ | Moster et al. (2010) |
Definition at line 426 of file Catalogue.h.
|
strong |
|
strong |
the type of random catalogue
Definition at line 345 of file Catalogue.h.
|
strong |
the catalogue variables
Definition at line 70 of file Catalogue.h.
|
strong |
the algorithm used to look for Voids
Enumerator | |
---|---|
_LaZeVo_ | Lagrangian Zel'dovich approximation Void algorithm used to move particles. |
_Exact_ | Void Algorithm used to connect positions at present times with positions at high redshift in simulations |
Definition at line 452 of file Catalogue.h.
double cbl::catalogue::Average_c_Zehavi_2005 | ( | const double | x, |
const double | Mmin | ||
) |
return the average number of central galaies inside an halo of mass x
x | the halo mass |
Mmin | is the value of the minimum halo mass that host a central galaxy |
Definition at line 66 of file HODCatalogue.cpp.
double cbl::catalogue::Average_c_Zehavi_2011 | ( | const double | x, |
const double | logMmin, | ||
const double | logsigma_c | ||
) |
return the average number of central galaies inside an halo of mass x
x | the halo mass |
logMmin | logarithmic value of minimum halo mass that host a central galaxy |
logsigma_c | logarithmic value of sigma in the lognormal distribution |
Definition at line 48 of file HODCatalogue.cpp.
double cbl::catalogue::Average_s_Zehavi_2005 | ( | const double | x, |
const double | alpha, | ||
const double | M1 | ||
) |
return the average number of satellite galaies per halo of mass x
x | the halo mass |
M1 | is the halo mass that host at least a satellite galaxy |
alpha | exponent of the power law |
Definition at line 75 of file HODCatalogue.cpp.
double cbl::catalogue::Average_s_Zehavi_2011 | ( | const double | x, |
const double | M0, | ||
const double | M1, | ||
const double | alpha | ||
) |
return the average number of satellite galaies per halo of mass x
x | the halo mass |
M0 | HOD parameter |
M1 | HOD parameter |
alpha | exponent of the power law |
Definition at line 57 of file HODCatalogue.cpp.
|
inline |
return a vector containing the CharEncode names
Definition at line 492 of file Catalogue.h.
|
inline |
cast an enum of type EstimateCriterion from its index
estimateCriterionIndex | the estimateCriterion index |
Definition at line 527 of file Catalogue.h.
|
inline |
cast an enum of type EstimateCriterion from its name
estimateCriterionName | the estimateCriterion name |
Definition at line 536 of file Catalogue.h.
|
inline |
cast an enum of type EstimateCriterion from indeces
estimateCriterionIndeces | the estimateCriterion indeces |
Definition at line 545 of file Catalogue.h.
|
inline |
cast an enum of type EstimateCriterion from thier names
estimateCriterionNames | the estimateCriterion names |
Definition at line 554 of file Catalogue.h.
|
inline |
return a vector containing the EstimateCriterion names
Definition at line 518 of file Catalogue.h.
|
inline |
return a vector containing the HODTypes names
Definition at line 445 of file Catalogue.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
cast an enum of type RandomType from its index
randomTypeIndex | the randomType index |
Definition at line 390 of file Catalogue.h.
|
inline |
cast an enum of type RandomType from its name
randomTypeName | the randomType name |
Definition at line 399 of file Catalogue.h.
|
inline |
cast an enum of type RandomType from indeces
randomTypeIndeces | the randomType indeces |
Definition at line 408 of file Catalogue.h.
|
inline |
cast an enum of type RandomType from thier names
randomTypeNames | the randomType names |
Definition at line 417 of file Catalogue.h.
|
inline |
return a vector containing the RandomType names
Definition at line 381 of file Catalogue.h.
|
inline |
cast an enum of type Var from its index
varIndex | the var index |
Definition at line 311 of file Catalogue.h.
|
inline |
cast an enum of type Var from its name
varName | the var name |
Definition at line 320 of file Catalogue.h.
|
inline |
cast an enum of type Var from indeces
varIndeces | the var indeces |
Definition at line 329 of file Catalogue.h.
|
inline |
cast an enum of type Var from thier names
varNames | the var names |
Definition at line 338 of file Catalogue.h.
|
inline |
return a vector containing the Var names
Definition at line 302 of file Catalogue.h.
|
inline |
return a vector containing the VoidAlgorithm names
Definition at line 469 of file Catalogue.h.