This example shows how to measure the three-point correlation function legendre coefficients
try {
std::string file_catalogue = "../input/cat.dat";
const double N_R = 2.;
const double rMin = 5.;
const double rMax = 10.;
const double binSize = 2;
const int nOrders = 11;
const std::string dir_output = "../output/";
const std::string dir_triplets = "../output/triplets/";
const std::string file_output = "zeta_multipoles.dat";
ThreeP->write(dir_output, file_output);
}
return 0;
}
Generic functions that use one or more classes of the CosmoBolognaLib.
int main()
main function to create the logo of the CosmoBolognaLib
The class ThreePointCorrelation_comoving_multipoles.
const char * what() const noexcept override
the error description
static std::shared_ptr< ThreePointCorrelation > Create(const ThreePType type, const catalogue::Catalogue data, const catalogue::Catalogue random, const triplets::TripletType tripletType, const double side_s, const double side_u, const double perc_increase, const int nbins)
static factory used to construct three-point correlation functions of any type
@ _createRandom_box_
random catalogue with cubic geometry (or parallelepiped) in comoving coordinates
@ _Planck15_
Planck collaboration 2015, paper XIII: Table 4, TT,TE,EE+lowP+lensing.
@ _None_
No error computed.
@ _observed_
observed coordinates (R.A., Dec, redshift)