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

The namespace of the cluster mass - mass proxy scaling relation modelling More...

Classes

struct  STR_MOrelation_data_model
 the structure STR_MOrelation_data_model More...
 
class  Modelling_MassObservableRelation
 The class Modelling_MassObservableRelation. More...
 

Functions

double scaling_relation (const double alpha, const double beta, const double gamma, const double div_proxy, const double f_z)
 compute the mass - mass proxy scaling relation More...
 
std::vector< double > model_scaling_relation (const std::vector< double > proxy, const std::shared_ptr< void > inputs, std::vector< double > &parameter)
 set the cluster scaling relation model More...
 
std::vector< double > model_scaling_relation_int (const std::vector< double > proxy, const std::shared_ptr< void > inputs, std::vector< double > &parameter)
 set the cluster scaling relation model More...
 

Detailed Description

The namespace of the cluster mass - mass proxy scaling relation modelling

The modelling::massobsrel namespace contains all the functions and classes to model the mass - mass proxy scaling relation of galaxy clusters

Function Documentation

◆ model_scaling_relation()

std::vector< double > cbl::modelling::massobsrel::model_scaling_relation ( const std::vector< double >  proxy,
const std::shared_ptr< void >  inputs,
std::vector< double > &  parameter 
)

set the cluster scaling relation model

Parameters
proxythe mass proxy (or mass) array
inputsmodel inputs
parametermodel parameters
Returns
the scaling relation as a function of the mass proxy in each bin

Definition at line 152 of file Modelling_MassObservableRelation.cpp.

◆ model_scaling_relation_int()

std::vector< double > cbl::modelling::massobsrel::model_scaling_relation_int ( const std::vector< double >  proxy,
const std::shared_ptr< void >  inputs,
std::vector< double > &  parameter 
)

set the cluster scaling relation model

Parameters
proxythe mass proxy (or mass) array
inputsmodel inputs
parametermodel parameters
Returns
the scaling relation as a function of the mass proxy in each bin

Definition at line 178 of file Modelling_MassObservableRelation.cpp.

◆ scaling_relation()

double cbl::modelling::massobsrel::scaling_relation ( const double  alpha,
const double  beta,
const double  gamma,
const double  div_proxy,
const double  f_z 
)

compute the mass - mass proxy scaling relation

Parameters
alphanormalisation
betaslope
gammaredshift evolution factor
div_proxythe logarithm of the mass proxy divided by the pivot
f_zthe logarithm of the redshift evolution function
Returns
\(\log M\).

Definition at line 143 of file Modelling_MassObservableRelation.cpp.