try {
std::string file_catalogue = "../input/cat.dat";
const double N_R = 2.;
std::cout << "I'm constructing the sub-regions used for jackknife and bootstrap..." << std::endl;
const int nx = 3, ny = 3, nz = 3;
const double side_s = 5.;
const double side_u = 2.;
const int nbins = 10;
const std::string dir_output = "../output/";
const std::string dir_triplets = dir_output;
const std::string dir_2pt = dir_output;
const std::string file_output = "3ptJK.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_reduced.
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.
@ _comoving_connected_
the connected three-point correlation function in comoving coordinates
@ _None_
No error computed.
@ _comoving_side_
1D triplet in comoving coordinates and linear bins
@ _observed_
observed coordinates (R.A., Dec, redshift)
void set_ObjectRegion_SubBoxes(catalogue::Catalogue &data, const int nx, const int ny, const int nz)
set the object region in sub-boxes