CosmoBolognaLib
Free Software C++/Python libraries for cosmological calculations
ModelFunction_TwoPointCorrelation_projected.h
Go to the documentation of this file.
1 /********************************************************************
2  * Copyright (C) 2016 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 
35 #ifndef __MODFUNCTWOPPRO__
36 #define __MODFUNCTWOPPRO__
37 
39 
40 
41 // ============================================================================
42 
43 
44 namespace cbl {
45 
46  namespace modelling {
47 
48  namespace twopt {
49 
54 
100  std::vector<double> wp_from_xi_approx (FunctionVectorVectorPtrVectorRef func, const std::vector<double> rp, const std::shared_ptr<void> inputs, std::vector<double> &parameter);
101 
143  std::vector<double> wp_1halo_approx (const std::vector<double> rp, const std::shared_ptr<void> inputs, std::vector<double> &parameter);
144 
186  std::vector<double> wp_2halo_approx (const std::vector<double> rp, const std::shared_ptr<void> inputs, std::vector<double> &parameter);
187 
223  std::vector<double> wp_HOD_approx (const std::vector<double> rp, const std::shared_ptr<void> inputs, std::vector<double> &parameter);
224 
264  std::vector<double> wp_from_xi (FunctionDoubleDoubleDoublePtrVectorRef func, const std::vector<double> rp, const std::shared_ptr<void> inputs, std::vector<double> &parameter);
265 
299  std::vector<double> wp_1halo (const std::vector<double> rp, const std::shared_ptr<void> inputs, std::vector<double> &parameter);
300 
334  std::vector<double> wp_2halo (const std::vector<double> rp, const std::shared_ptr<void> inputs, std::vector<double> &parameter);
335 
365  std::vector<double> wp_HOD (const std::vector<double> rp, const std::shared_ptr<void> inputs, std::vector<double> &parameter);
366 
368 
369  }
370  }
371 }
372 
373 #endif
Global functions to model the monopole of the two-point correlation function.
std::vector< double > wp_from_xi_approx(FunctionVectorVectorPtrVectorRef func, const std::vector< double > rp, const std::shared_ptr< void > inputs, std::vector< double > &parameter)
function used to compute the projected two-point correlation function
std::vector< double > wp_HOD_approx(const std::vector< double > rp, const std::shared_ptr< void > inputs, std::vector< double > &parameter)
HOD model of the projected two-point correlation function.
std::vector< double > wp_2halo(const std::vector< double > rp, const std::shared_ptr< void > inputs, std::vector< double > &parameter)
model for the 2-halo term of the projected two-point correlation function
std::vector< double > wp_1halo(const std::vector< double > rp, const std::shared_ptr< void > inputs, std::vector< double > &parameter)
model for the 1-halo term of the projected two-point correlation function
std::vector< double > wp_1halo_approx(const std::vector< double > rp, const std::shared_ptr< void > inputs, std::vector< double > &parameter)
model for the 1-halo term of the projected two-point correlation function
std::vector< double > wp_from_xi(FunctionDoubleDoubleDoublePtrVectorRef func, const std::vector< double > rp, const std::shared_ptr< void > inputs, std::vector< double > &parameter)
function used to compute the projected two-point correlation function
std::vector< double > wp_HOD(const std::vector< double > rp, const std::shared_ptr< void > inputs, std::vector< double > &parameter)
HOD model of the projected two-point correlation function.
std::vector< double > wp_2halo_approx(const std::vector< double > rp, const std::shared_ptr< void > inputs, std::vector< double > &parameter)
model for the 2-halo term of the projected two-point correlation function
The global namespace of the CosmoBolognaLib
Definition: CAMB.h:38
std::function< std::vector< double >std::vector< double >, std::shared_ptr< void >, std::vector< double > &)> FunctionVectorVectorPtrVectorRef
typedef of a function returning a vector with a vector, a pointer and a vector reference in input
Definition: Kernel.h:705
std::function< double(double, double, std::shared_ptr< void >, std::vector< double > &)> FunctionDoubleDoubleDoublePtrVectorRef
typedef of a function returning a double with two double, a pointer and a vector reference in input
Definition: Kernel.h:699