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

The namespace of the modelling of cosmological data More...

Classes

class  Modelling_Cosmology
 The class Modelling_Cosmology. More...
 

Functions

double cosmological_measurements (const double redshift, const std::string data_type, const cbl::cosmology::Cosmology cosmology)
 generic cosmological measurements More...
 
std::vector< double > cosmological_measurements_model (const std::vector< double > redshift, const std::shared_ptr< void > inputs, std::vector< double > &parameter)
 model for the generic cosmological measurements More...
 
std::vector< double > cosmological_measurements_model_CMB_DistancePrior (const std::vector< double > redshift, const std::shared_ptr< void > inputs, std::vector< double > &parameter)
 model for the generic cosmological measurements plus distance prior from CMB experiments More...
 

Detailed Description

The namespace of the modelling of cosmological data

The modelling::cosmology namespace contains all the functions and classes to model cosmological data

Function Documentation

◆ cosmological_measurements()

double cbl::modelling::cosmo::cosmological_measurements ( const double  redshift,
const std::string  data_type,
const cbl::cosmology::Cosmology  cosmology 
)

generic cosmological measurements

the function provides theoretical predictions for the following quantities:

  • DV
  • DV/rs
  • rs/DV
  • F_AP
  • DA
  • DA/rs
  • rs/DA
  • HH
  • HH*rs
  • DH
  • DH/rs
  • rs/DH
  • DL
Parameters
redshiftthe redshift
data_typethe data type
cosmologythe cosmology
Returns
cosmological measurements

Definition at line 45 of file ModelFunction_Cosmology.cpp.

◆ cosmological_measurements_model()

std::vector< double > cbl::modelling::cosmo::cosmological_measurements_model ( const std::vector< double >  redshift,
const std::shared_ptr< void >  inputs,
std::vector< double > &  parameter 
)

model for the generic cosmological measurements

the function provides theoretical predictions for the following quantities:

  • \(D_V\)
  • \(D_V/r_s\)
  • \(r_s/D_V\)
  • \(F_{AP}\)
  • \(D_A\)
  • \(D_A/r_s\)
  • \(r_s/D_A\)
  • \(D_M\)
  • \(D_M/r_s\)
  • \(r_s/D_M\)
  • \(HH\)
  • \(HH*r_s\)
  • \(D_H\)
  • \(D_H/r_s\)
  • \(r_s/D_H\)
  • \(D_L\)
Parameters
redshiftthe redshift at which the model is computed
inputspointer to the structure that contains inputs quantities
parametercosmological parameters
Returns
cosmological measurements

Definition at line 102 of file ModelFunction_Cosmology.cpp.

◆ cosmological_measurements_model_CMB_DistancePrior()

std::vector< double > cbl::modelling::cosmo::cosmological_measurements_model_CMB_DistancePrior ( const std::vector< double >  redshift,
const std::shared_ptr< void >  inputs,
std::vector< double > &  parameter 
)

model for the generic cosmological measurements plus distance prior from CMB experiments

the function provides theoretical predictions for the following quantities:

  • \(D_V\)
  • \(D_V/r_s\)
  • \(r_s/D_V\)
  • \(D_A\)
  • \(D_A/r_s\)
  • \(r_s/D_A\)
  • \(D_M\)
  • \(D_M/r_s\)
  • \(r_s/D_M\)
  • \(HH\)
  • \(HH*r_s\)
  • \(D_H\)
  • \(D_H/r_s\)
  • \(r_s/D_H\)
  • \(D_L\)
Parameters
redshiftthe redshift at which the model is computed
inputspointer to the structure that contains inputs quantities
parametercosmological parameters
Returns
cosmological measurements

Definition at line 129 of file ModelFunction_Cosmology.cpp.