CosmoBolognaLib
Free Software C++/Python libraries for cosmological calculations
ModelFunction_TwoPointCorrelation.h File Reference

Global functions to model two-point correlation functions of any type. More...

Include dependency graph for ModelFunction_TwoPointCorrelation.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  cbl::modelling::twopt::STR_data_model
 the structure STR_data_model More...
 

Namespaces

 cbl
 The global namespace of the CosmoBolognaLib
 
 cbl::modelling
 The namespace of the functions and classes used for modelling
 
 cbl::modelling::twopt
 The namespace of the two-point correlation function modelling
 

Functions

std::vector< double > cbl::modelling::twopt::true_k_mu_AP (const double kk, const double mu, const double alpha_perp, const double alpha_par)
 true k and \(\mu\) power spectrum coordinates as a function of observed ones More...
 
double cbl::modelling::twopt::Pk_l (const double kk, const int l, const std::string model, const std::vector< double > parameter, const std::vector< std::shared_ptr< glob::FuncGrid >> pk_interp, const double prec=1.e-5, const double alpha_perp=1., const double alpha_par=1.)
 the multipole of order l of the power spectrum More...
 
std::vector< double > cbl::modelling::twopt::Pk_l (const std::vector< double > kk, const int l, const std::string model, const std::vector< double > parameter, const std::vector< std::shared_ptr< glob::FuncGrid >> pk_interp, const double prec=1.e-5, const double alpha_perp=1., const double alpha_par=1.)
 the multipole of order l of the power spectrum More...
 
cbl::glob::FuncGrid cbl::modelling::twopt::Xil_interp (const std::vector< double > kk, const int l, const std::string model, const std::vector< double > parameter, const std::vector< std::shared_ptr< glob::FuncGrid >> pk_interp, const double prec=1.e-5, const double alpha_perp=1., const double alpha_par=1.)
 the interpolating function of multipole expansion of the two-point correlation function at a given order l More...
 
std::vector< std::vector< double > > cbl::modelling::twopt::Xi_l (const std::vector< double > rr, const int nmultipoles, const std::string model, const std::vector< double > parameter, const std::vector< std::shared_ptr< glob::FuncGrid >> pk_interp, const double prec=1.e-5, const double alpha_perp=1., const double alpha_par=1.)
 the multipole of order l of the two-point correlation function More...
 
std::vector< double > cbl::modelling::twopt::Xi_l (const std::vector< double > rr, const std::vector< int > dataset_order, const std::vector< bool > use_pole, const std::string model, const std::vector< double > parameter, const std::vector< std::shared_ptr< glob::FuncGrid >> pk_interp, const double prec=1.e-5, const double alpha_perp=1., const double alpha_par=1.)
 the multipole of order l of the two-point correlation function More...
 
std::vector< std::vector< double > > cbl::modelling::twopt::Xi_rppi (const std::vector< double > rp, const std::vector< double > pi, const std::string model, const std::vector< double > parameter, const std::vector< std::shared_ptr< glob::FuncGrid >> pk_interp, const double prec=1.e-5, const double alpha_perp=1., const double alpha_par=1.)
 the cartesian two-point correlation function More...
 
double cbl::modelling::twopt::Xi_polar (const double rad_fid, const double mu_fid, const double alpha_perpendicular, const double alpha_parallel, const std::vector< std::shared_ptr< cbl::glob::FuncGrid >> xi_multipoles)
 the polar two-point correlation function More...
 
std::vector< double > cbl::modelling::twopt::wp_from_Xi_rppi (const std::vector< double > rp, const double pimax, const std::string model, const std::vector< double > parameter, const std::vector< std::shared_ptr< glob::FuncGrid >> pk_interp, const double prec=1.e-5, const double alpha_perp=1., const double alpha_par=1.)
 the projected two-point correlation function More...
 
std::vector< std::vector< double > > cbl::modelling::twopt::damped_Pk_terms (const std::vector< double > kk, const double linear_growth_rate, const double SigmaS, const std::shared_ptr< cbl::glob::FuncGrid > PkDM)
 the power spectrum terms obtained integrating the redshift space 2D power spectrum More...
 
std::vector< double > cbl::modelling::twopt::damped_Xi (const std::vector< double > ss, const double bias, const double linear_growth_rate, const double SigmaS, const std::vector< double > kk, const std::shared_ptr< cbl::glob::FuncGrid > PkDM)
 the damped two-point correlation monopole; from Sereno et al. 2015 More...
 
double cbl::modelling::twopt::Pkmu (const double kk, const double mu, const std::string model, const std::vector< double > parameter, const std::vector< std::shared_ptr< glob::FuncGrid >> pk_interp, const double alpha_perp=1., const double alpha_par=1.)
 the power spectrum as a function of k and \(\mu\) More...
 
double cbl::modelling::twopt::Pkmu_DeWiggled (const double kk, const double mu, const double sigmaNL_perp, const double sigmaNL_par, const double linear_growth_rate, const double bias, const double SigmaS, const std::shared_ptr< cbl::glob::FuncGrid > Pk, const std::shared_ptr< cbl::glob::FuncGrid > Pk_NW)
 the redshift-space galaxy power spectrum, as a function of \(k\) and \(\mu\), predicted by the de-wiggled model More...
 
double cbl::modelling::twopt::Pkmu_ModeCoupling (const double kk, const double mu, const double linear_growth_rate, const double bias, const double sigmav, const double AMC, const std::shared_ptr< cbl::glob::FuncGrid > PkLin, const std::shared_ptr< cbl::glob::FuncGrid > PkMC)
 the redshift-space galaxy power spectrum, as a function of \(k\) and \(\mu\), predicted by the mode-coupling model More...
 
double cbl::modelling::twopt::Pkmu_dispersion (const double kk, const double mu, const std::string DFoG, const double linear_growth_rate, const double bias, const double sigmav, const std::shared_ptr< cbl::glob::FuncGrid > Pklin)
 the redshift-space galaxy power spectrum, as a function of \(k\) and \(\mu\), predicted by the dispersion model More...
 
double cbl::modelling::twopt::Pkmu_Scoccimarro (const double kk, const double mu, const std::string DFoG, const double linear_growth_rate, const double bias, const double sigmav, const std::shared_ptr< cbl::glob::FuncGrid > Pk_DeltaDelta, const std::shared_ptr< cbl::glob::FuncGrid > Pk_DeltaTheta, const std::shared_ptr< cbl::glob::FuncGrid > Pk_ThetaTheta)
 the redshift-space galaxy power spectrum, as a function of \(k\) and \(\mu\), predicted by the Scoccimarro model More...
 
double cbl::modelling::twopt::Pkmu_Scoccimarro_fitPezzotta (const double kk, const double mu, const std::string DFoG, const double linear_growth_rate, const double bias, const double sigmav, const double kd, const double kt, const std::shared_ptr< cbl::glob::FuncGrid > Pklin, const std::shared_ptr< cbl::glob::FuncGrid > Pknonlin)
 the redshift-space galaxy power spectrum, as a function of \(k\) and \(\mu\), predicted by the Scoccimarro model More...
 
double cbl::modelling::twopt::Pkmu_Scoccimarro_fitBel (const double kk, const double mu, const std::string DFoG, const double linear_growth_rate, const double bias, const double sigmav, const double kd, const double bb, const double a1, const double a2, const double a3, const std::shared_ptr< cbl::glob::FuncGrid > Pklin, const std::shared_ptr< cbl::glob::FuncGrid > Pknonlin)
 the redshift-space galaxy power spectrum, as a function of \(k\) and \(\mu\), predicted by the Scoccimarro model More...
 
double cbl::modelling::twopt::Pkmu_TNS (const double kk, const double mu, const std::string DFoG, const double linear_growth_rate, const double bias, const double sigmav, const std::shared_ptr< cbl::glob::FuncGrid > Pk_DeltaDelta, const std::shared_ptr< cbl::glob::FuncGrid > Pk_DeltaTheta, const std::shared_ptr< cbl::glob::FuncGrid > Pk_ThetaTheta, const std::shared_ptr< cbl::glob::FuncGrid > Pk_A11, const std::shared_ptr< cbl::glob::FuncGrid > Pk_A12, const std::shared_ptr< cbl::glob::FuncGrid > Pk_A22, const std::shared_ptr< cbl::glob::FuncGrid > Pk_A23, const std::shared_ptr< cbl::glob::FuncGrid > Pk_A33, const std::shared_ptr< cbl::glob::FuncGrid > Pk_B12, const std::shared_ptr< cbl::glob::FuncGrid > Pk_B13, const std::shared_ptr< cbl::glob::FuncGrid > Pk_B14, const std::shared_ptr< cbl::glob::FuncGrid > Pk_B22, const std::shared_ptr< cbl::glob::FuncGrid > Pk_B23, const std::shared_ptr< cbl::glob::FuncGrid > Pk_B24, const std::shared_ptr< cbl::glob::FuncGrid > Pk_B33, const std::shared_ptr< cbl::glob::FuncGrid > Pk_B34, const std::shared_ptr< cbl::glob::FuncGrid > Pk_B44)
 the redshift-space galaxy power spectrum, as a function of \(k\) and \(\mu\), predicted by the TNS (Taruya, Nishimichi and Saito) model More...
 
double cbl::modelling::twopt::Pkmu_eTNS (const double kk, const double mu, const std::string DFoG, const double linear_growth_rate, const double bias, const double bias2, const double sigmav, const double Ncorr, const std::shared_ptr< cbl::glob::FuncGrid > Pk_DeltaDelta, const std::shared_ptr< cbl::glob::FuncGrid > Pk_DeltaTheta, const std::shared_ptr< cbl::glob::FuncGrid > Pk_ThetaTheta, const std::shared_ptr< cbl::glob::FuncGrid > Pk_A11, const std::shared_ptr< cbl::glob::FuncGrid > Pk_A12, const std::shared_ptr< cbl::glob::FuncGrid > Pk_A22, const std::shared_ptr< cbl::glob::FuncGrid > Pk_A23, const std::shared_ptr< cbl::glob::FuncGrid > Pk_A33, const std::shared_ptr< cbl::glob::FuncGrid > Pk_B12, const std::shared_ptr< cbl::glob::FuncGrid > Pk_B13, const std::shared_ptr< cbl::glob::FuncGrid > Pk_B14, const std::shared_ptr< cbl::glob::FuncGrid > Pk_B22, const std::shared_ptr< cbl::glob::FuncGrid > Pk_B23, const std::shared_ptr< cbl::glob::FuncGrid > Pk_B24, const std::shared_ptr< cbl::glob::FuncGrid > Pk_B33, const std::shared_ptr< cbl::glob::FuncGrid > Pk_B34, const std::shared_ptr< cbl::glob::FuncGrid > Pk_B44, const std::shared_ptr< cbl::glob::FuncGrid > Pk_b2d, const std::shared_ptr< cbl::glob::FuncGrid > Pk_b2v, const std::shared_ptr< cbl::glob::FuncGrid > Pk_b22, const std::shared_ptr< cbl::glob::FuncGrid > Pk_bs2d, const std::shared_ptr< cbl::glob::FuncGrid > Pk_bs2v, const std::shared_ptr< cbl::glob::FuncGrid > Pk_b2s2, const std::shared_ptr< cbl::glob::FuncGrid > Pk_bs22, const std::shared_ptr< cbl::glob::FuncGrid > sigma32Pklin)
 the redshift-space galaxy power spectrum, as a function of \(k\) and \(\mu\), predicted by the extended TNS (Taruya, Nishimichi and Saito) model More...
 

Detailed Description

Global functions to model two-point correlation functions of any type.

This file contains all the prototypes of the global functions used to model two-point correlation functions of any type

Author
Federico Marulli, Alfonso Veropalumbo
feder.nosp@m.ico..nosp@m.marul.nosp@m.li3@.nosp@m.unibo.nosp@m..it, alfon.nosp@m.so.v.nosp@m.eropa.nosp@m.lumb.nosp@m.o@uni.nosp@m.bo.i.nosp@m.t

Definition in file ModelFunction_TwoPointCorrelation.h.