CosmoBolognaLib
Free Software C++/Python libraries for cosmological calculations
ThreePointCorrelation_angular_reduced.cpp
Go to the documentation of this file.
1 /********************************************************************
2  * Copyright (C) 2015 by Federico Marulli and Alfonso Veropalumbo *
3  * federico.marulli3@unibo.it *
4  * *
5  * This program is free software; you can redistribute it and/or *
6  * modify it under the terms of the GNU General Public License as *
7  * published by the Free Software Foundation; either version 2 of *
8  * the License, or (at your option) any later version. *
9  * *
10  * This program is distributed in the hope that it will be useful, *
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13  * GNU General Public License for more details. *
14  * *
15  * You should have received a copy of the GNU General Public *
16  * License along with this program; if not, write to the Free *
17  * Software Foundation, Inc., *
18  * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
19  ********************************************************************/
20 
40 
41 using namespace std;
42 
43 using namespace cbl;
44 using namespace catalogue;
45 using namespace triplets;
46 using namespace measure;
47 using namespace threept;
48 using namespace glob;
49 
50 
51 // ============================================================================
52 
53 
54 void cbl::measure::threept::ThreePointCorrelation_angular_reduced::measure (const string dir_output_triplets, const string dir_output_2pt, const vector<string> dir_input_triplets, const bool count_ddd, const bool count_rrr, const bool count_ddr, const bool count_drr, const bool tcount, const double fact, const int seed)
55 {
56  (void)dir_output_triplets; (void)dir_output_2pt; (void)dir_input_triplets; (void)count_ddd; (void)count_rrr; (void)count_ddr; (void)count_drr; (void)tcount; (void)fact; (void)seed;
57  ErrorCBL("", "measure", "ThreePointCorrelation_angular_reduced.cpp", ExitCode::_workInProgress_);
58 }
59 
60 
61 // ============================================================================
62 
63 
64 void cbl::measure::threept::ThreePointCorrelation_angular_reduced::write (const string dir, const string file, const bool connected) const
65 {
66  (void)dir; (void)file; (void)connected;
67  ErrorCBL("", "write", "ThreePointCorrelation_angular_reduced.cpp", ExitCode::_workInProgress_);
68 }
69 
70 
71 // ============================================================================
72 
73 
75 {
76  m_dataset->write_covariance(dir, file);
77 }
The class ThreePointCorrelation_angular_reduced.
void write(const std::string dir, const std::string file, const bool connected) const override
write the monopole of the two-point correlation function
void write_covariance(const std::string dir, const std::string file) const override
write the measured three-point correlation covariance
void measure(const std::string dir_output_triplets, const std::string dir_output_2pt, const std::vector< std::string > dir_input_triplets={}, const bool count_ddd=true, const bool count_rrr=true, const bool count_ddr=true, const bool count_drr=true, const bool tcount=false, const double fact=0.1, const int seed=3213) override
method to measure the three-point correlation function
The global namespace of the CosmoBolognaLib
Definition: CAMB.h:38
int ErrorCBL(const std::string msg, const std::string functionCBL, const std::string fileCBL, const cbl::glob::ExitCode exitCode=cbl::glob::ExitCode::_error_)
throw an exception: it is used for handling exceptions inside the CosmoBolognaLib
Definition: Kernel.h:780