This example shows how to how to measure the number counts of a catalogue
try {
const std::string file_catalogue = "../input/cat.dat";
const int nbin = 10;
const std::string dir = "../output/";
const std::string file = "redshift_distribution.dat";
NC.write(dir, file);
}
return 0;
}
int main()
main function to create the logo of the CosmoBolognaLib
The class NumberCounts1D_Redshift.
const char * what() const noexcept override
the error description
The class NumberCounts1D_Redshift.
void measure(const ErrorType errorType=ErrorType::_Poisson_, const std::string dir_output_resample=par::defaultString, const int nResamplings=0, const int seed=3213, const bool conv=false, const double sigma=0.) override
measure the number counts
@ _Planck15_
Planck collaboration 2015, paper XIII: Table 4, TT,TE,EE+lowP+lensing.
@ _Poisson_
Poissonian error.
@ _observed_
observed coordinates (R.A., Dec, redshift)