This example shows how to measure the angular two-point correlation function
try {
const std::string file_catalogue = "../input/cat2d.dat";
const double N_R = 1.;
const double angMin = 0.01;
const double angMax = 1.;
const int nbins = 20;
const double shift = 0.5;
const std::string dir = "../output/";
const std::string file = "xi_angular.dat";
TwoP.write(dir, file);
}
return 0;
}
int main()
main function to create the logo of the CosmoBolognaLib
The class TwoPointCorrelation1D_angular.
const char * what() const noexcept override
the error description
The class TwoPointCorrelation1D_angular.
@ _createRandom_square_
random catalogue with square geometry in observed coordinates (R.A., Dec)
@ _Poisson_
Poissonian error.
@ _observed_
observed coordinates (R.A., Dec, redshift)
CoordinateUnits
the coordinate units
@ _degrees_
angle in degrees