34 #ifndef __MODFUNCPOWSPECTRUMANG__
35 #define __MODFUNCPOWSPECTRUMANG__
48 struct STR_data_model {
50 std::shared_ptr<cosmology::Cosmology> cosmology;
52 std::vector<cosmology::CosmologicalParameter> Cpar;
62 std::string method_Pk;
74 std::vector<std::vector<double>> mixing_matrix;
76 std::vector<double> ll;
78 bool interpolate_power_spectrum;
80 std::vector<double> dN_par;
82 std::vector<double> dN_par_bin2;
84 STR_data_model () =
default;
106 std::vector<double>
Cl_mixed(std::vector<double> l_mixing, std::vector<std::vector<double>> mixing_matrix, std::vector<double> l, std::vector<double> Cl,
double fsky);
199 std::vector<double>
Cl_limber (
const std::vector<double> l,
const std::shared_ptr<void> inputs, std::vector<double> ¶meter);
std::vector< double > Cl_mixed(std::vector< double > l_mixing, std::vector< std::vector< double >> mixing_matrix, std::vector< double > l, std::vector< double > Cl, double fsky)
the angular power spectrum convolved with the mixing matrix
double integral_limber_exact(double l, std::vector< double > parameter, std::shared_ptr< void > input)
the integrand function in the Limber approximation for the calculus of angular power spectrum
double integral_limber_interp(double l, std::vector< double > z_vector, std::vector< double > kk, cbl::glob::FuncGrid2D pk_interp, std::vector< double > parameter, std::shared_ptr< void > input)
the integrand function in the Limber approximation for the calculus of angular power spectrum
std::vector< double > Cl_limber(const std::vector< double > l, const std::shared_ptr< void > inputs, std::vector< double > ¶meter)
the model for the angular power spectrum
double integrand_limber_exact(double redshift, std::shared_ptr< void > pp, std::vector< double > par)
the integrand function in the Limber approximation for the calculus of angular power spectrum
The global namespace of the CosmoBolognaLib