This example shows how to measure the monopole of the two-point correlation function
try {
const std::string file_catalogue = "../input/cat.dat";
const double N_R = 1.;
const double rMin = 5.;
const double rMax = 20.;
const int nbins = 5;
const double shift = 0.5;
const std::string dir = "../output/";
const std::string file = "xi.dat";
TwoP.write(dir, file);
}
return 0;
}
int main()
main function to create the logo of the CosmoBolognaLib
The class TwoPointCorrelation1D_monopole.
const char * what() const noexcept override
the error description
The class TwoPointCorrelation1D_monopole.
@ _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.
@ _Poisson_
Poissonian error.
@ _observed_
observed coordinates (R.A., Dec, redshift)
@ _logarithmic_
logarithmic binning