CosmoBolognaLib
Free Software C++/Python libraries for cosmological calculations
Modelling_NumberCounts1D_Size.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 
34 #ifndef __MODELLINGNCS__
35 #define __MODELLINGNCS_
36 
37 
39 
40 
41 // ===================================================================================================
42 
43 
44 namespace cbl {
45 
46  namespace modelling {
47 
55  namespace numbercounts {
56 
70  {
71 
72  public:
73 
78 
84 
90  Modelling_NumberCounts1D_Size (const std::shared_ptr<cbl::measure::numbercounts::NumberCounts> nc)
91  : Modelling_NumberCounts1D (nc) {}
92 
100  Modelling_NumberCounts1D_Size (const std::shared_ptr<cbl::data::Data> dataset, glob::HistogramType hist_type, double fact)
101  : Modelling_NumberCounts1D (dataset, hist_type, fact) {}
102 
107  virtual ~Modelling_NumberCounts1D_Size () = default;
108 
110 
115 
129  void set_model_NumberCounts_cosmology (const std::vector<cbl::cosmology::CosmologicalParameter> cosmo_params={}, const std::vector<statistics::PriorDistribution> cosmo_param_priors={});
130 
132 
154  void set_model_NumberCounts_cosmology_and_bias (const std::vector<cbl::cosmology::CosmologicalParameter> cosmo_params={}, const std::vector<statistics::PriorDistribution> cosmo_param_priors={}, const std::vector<statistics::PriorDistribution> bias_priors={});
155 
157 
158  };
159  }
160  }
161 }
162 
163 #endif
The class Modelling_NumberCounts1D.
Modelling_NumberCounts1D_Size(const std::shared_ptr< cbl::measure::numbercounts::NumberCounts > nc)
constuctor
Modelling_NumberCounts1D_Size(const std::shared_ptr< cbl::data::Data > dataset, glob::HistogramType hist_type, double fact)
constuctor
void set_model_NumberCounts_cosmology_and_bias(const std::vector< cbl::cosmology::CosmologicalParameter > cosmo_params={}, const std::vector< statistics::PriorDistribution > cosmo_param_priors={}, const std::vector< statistics::PriorDistribution > bias_priors={})
set the cosmological parameters and parameters necessary to re-parametrise the void size function
void set_model_NumberCounts_cosmology(const std::vector< cbl::cosmology::CosmologicalParameter > cosmo_params={}, const std::vector< statistics::PriorDistribution > cosmo_param_priors={})
set the cosmological parameters used to model the size function
Modelling_NumberCounts1D_Size()=default
default constuctor _NumberCounts1D_Size
virtual ~Modelling_NumberCounts1D_Size()=default
default destructor
HistogramType
the histogram type
Definition: Histogram.h:49
The global namespace of the CosmoBolognaLib
Definition: CAMB.h:38