CosmoBolognaLib
Free Software C++/Python libraries for cosmological calculations
Modelling_NumberCounts1D_MassProxy.h
Go to the documentation of this file.
1 /********************************************************************
2  * Copyright (C) 2021 by Giorgio Lesci and Federico Marulli *
3  * giorgio.lesci2@unibo.it, 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 __MODELLINGNCMP__
35 #define __MODELLINGNCMP__
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 
89  Modelling_NumberCounts1D_MassProxy (const std::shared_ptr<cbl::measure::numbercounts::NumberCounts> nc)
90  : Modelling_NumberCounts1D (nc) {}
91 
98  Modelling_NumberCounts1D_MassProxy (const std::shared_ptr<cbl::data::Data> dataset, glob::HistogramType hist_type, double fact)
99  : Modelling_NumberCounts1D (dataset, hist_type, fact) {}
100 
106 
108 
109 
115 
234  void set_model_NumberCounts_cosmology (const std::string scalrel_z_evo, const std::string z_error_type, const std::string proxy_error_type, const std::vector<cbl::cosmology::CosmologicalParameter> cosmo_param, const std::vector<statistics::PriorDistribution> cosmo_param_prior, const statistics::PriorDistribution alpha_prior, const statistics::PriorDistribution beta_prior, const statistics::PriorDistribution gamma_prior, const statistics::PriorDistribution scatter0_prior, const statistics::PriorDistribution scatterM_prior, const statistics::PriorDistribution scatterM_exponent_prior, const statistics::PriorDistribution scatterz_prior, const statistics::PriorDistribution scatterz_exponent_prior, const statistics::PriorDistribution z_bias_prior, const statistics::PriorDistribution proxy_bias_prior, const statistics::PriorDistribution z_error_prior, const statistics::PriorDistribution proxy_error_prior, const std::vector<statistics::PriorDistribution> Plambda_prior);
235 
237 
238  };
239  }
240  }
241 }
242 
243 #endif
The class Modelling_NumberCounts1D.
void set_model_NumberCounts_cosmology(const std::string scalrel_z_evo, const std::string z_error_type, const std::string proxy_error_type, const std::vector< cbl::cosmology::CosmologicalParameter > cosmo_param, const std::vector< statistics::PriorDistribution > cosmo_param_prior, const statistics::PriorDistribution alpha_prior, const statistics::PriorDistribution beta_prior, const statistics::PriorDistribution gamma_prior, const statistics::PriorDistribution scatter0_prior, const statistics::PriorDistribution scatterM_prior, const statistics::PriorDistribution scatterM_exponent_prior, const statistics::PriorDistribution scatterz_prior, const statistics::PriorDistribution scatterz_exponent_prior, const statistics::PriorDistribution z_bias_prior, const statistics::PriorDistribution proxy_bias_prior, const statistics::PriorDistribution z_error_prior, const statistics::PriorDistribution proxy_error_prior, const std::vector< statistics::PriorDistribution > Plambda_prior)
Set the cosmological parameters used to model the number counts as a function of a mass proxy,...
Modelling_NumberCounts1D_MassProxy()=default
default constuctor _NumberCounts1D_MassProxy
Modelling_NumberCounts1D_MassProxy(const std::shared_ptr< cbl::measure::numbercounts::NumberCounts > nc)
constuctor
virtual ~Modelling_NumberCounts1D_MassProxy()=default
default destructor
Modelling_NumberCounts1D_MassProxy(const std::shared_ptr< cbl::data::Data > dataset, glob::HistogramType hist_type, double fact)
constuctor
The class PriorDistribution.
HistogramType
the histogram type
Definition: Histogram.h:49
The global namespace of the CosmoBolognaLib
Definition: CAMB.h:38