CosmoBolognaLib
Free Software C++/Python libraries for cosmological calculations
cbl::modelling::densityprofile Namespace Reference

The namespace of the cluster projected density profile modelling More...

Classes

struct  STR_Profile_data_model
 the structure STR_Profile_data_model More...
 
class  Modelling_DensityProfile
 The class Modelling_DensityProfile. More...
 

Functions

std::vector< double > model_density (const std::vector< double > radius, const std::shared_ptr< void > inputs, std::vector< double > &parameter)
 Compute the excess density profile model in all the radial bins. More...
 
std::vector< double > compute_model_density_scaling_relation (const std::vector< double > radius, cbl::cosmology::Cosmology cosmo, cbl::cosmology::HaloProfile halo_profile, std::shared_ptr< STR_Profile_data_model > pp, const double conc, const double c0, const double cM, const double cz, const double AB_fact, const double OB_fact, const double alpha, const double beta, const double gamma, const double scatter0, const double scatterM, const double scatterM_exp, const double scatterz, const double scatterz_exp)
 Compute the excess density profile model in all the radial bins when mass is derived from the scaling relation. This function is called for example by cbl::modelling::densityprofile::model_density_scaling_relation. More...
 
std::vector< double > model_density_scaling_relation (const std::vector< double > radius, const std::shared_ptr< void > inputs, std::vector< double > &parameter)
 Compute the excess density profile model in all the radial bins. The mass is derived from the scaling relation. More...
 
std::vector< double > model_density_scaling_relation_evolving_concentration_offcentering (const std::vector< double > radius, const std::shared_ptr< void > inputs, std::vector< double > &parameter)
 Compute the excess density profile model in all the radial bins. The mass is derived from the scaling relation. More...
 

Detailed Description

The namespace of the cluster projected density profile modelling

The modelling::densityprofile namespace contains all the functions and classes to model the surface density excess profile of galaxy clusters

Function Documentation

◆ compute_model_density_scaling_relation()

std::vector< double > cbl::modelling::densityprofile::compute_model_density_scaling_relation ( const std::vector< double >  radius,
cbl::cosmology::Cosmology  cosmo,
cbl::cosmology::HaloProfile  halo_profile,
std::shared_ptr< STR_Profile_data_model pp,
const double  conc,
const double  c0,
const double  cM,
const double  cz,
const double  AB_fact,
const double  OB_fact,
const double  alpha,
const double  beta,
const double  gamma,
const double  scatter0,
const double  scatterM,
const double  scatterM_exp,
const double  scatterz,
const double  scatterz_exp 
)

Compute the excess density profile model in all the radial bins when mass is derived from the scaling relation. This function is called for example by cbl::modelling::densityprofile::model_density_scaling_relation.

Parameters
radiusthe radius array
cosmocosmological model
halo_profilehalo profile model
pppointer to model inputs
conchalo concentration
c0\(c_0\)
cM\(c_M\)
cz\(c_z\)
AB_factanisotropic boost factor
OB_factorientation boost factor
alphanormalisation of the scaling relation
betaslope of the scaling relation
gammascaling relation redshift evolution parameter
scatter0scatter normalisation
scatterMscatter mass proxy dependence parameter
scatterM_expscatter mass proxy exponent parameter
scatterzscatter redshift dependence parameter
scatterz_expscatter redshift exponent parameter
Returns
halo model in each radial bin

Definition at line 733 of file Modelling_DensityProfile.cpp.

◆ model_density()

std::vector< double > cbl::modelling::densityprofile::model_density ( const std::vector< double >  radius,
const std::shared_ptr< void >  inputs,
std::vector< double > &  parameter 
)

Compute the excess density profile model in all the radial bins.

Parameters
radiusthe radius array
inputsmodel inputs
parametermodel parameters
Returns
halo model in each radial bin

Definition at line 686 of file Modelling_DensityProfile.cpp.

◆ model_density_scaling_relation()

std::vector< double > cbl::modelling::densityprofile::model_density_scaling_relation ( const std::vector< double >  radius,
const std::shared_ptr< void >  inputs,
std::vector< double > &  parameter 
)

Compute the excess density profile model in all the radial bins. The mass is derived from the scaling relation.

Parameters
radiusthe radius array
inputsmodel inputs
parametermodel parameters
Returns
halo model in each radial bin

Definition at line 839 of file Modelling_DensityProfile.cpp.

◆ model_density_scaling_relation_evolving_concentration_offcentering()

std::vector< double > cbl::modelling::densityprofile::model_density_scaling_relation_evolving_concentration_offcentering ( const std::vector< double >  radius,
const std::shared_ptr< void >  inputs,
std::vector< double > &  parameter 
)

Compute the excess density profile model in all the radial bins. The mass is derived from the scaling relation.

Parameters
radiusthe radius array
inputsmodel inputs
parametermodel parameters
Returns
halo model in each radial bin

Definition at line 884 of file Modelling_DensityProfile.cpp.