86 std::shared_ptr<cosmology::Cosmology>
m_cosmo;
144 void m_compute_gaussian_window (
const double delta_z,
const std::vector<double> W_mean,
const std::vector<double> W_std);
216 SuperSampleCovariance (
cbl::cosmology::Cosmology cosm,
const std::vector<cbl::cosmology::CosmologicalParameter> cosmo_param,
const std::vector<double> redshift_edges,
const double area,
const std::string method_Pk=
"EisensteinHu",
const double delta_z=0.001,
const double precision=10,
const bool NL=
false,
const bool store_output=
false);
275 SuperSampleCovariance (
cbl::cosmology::Cosmology cosm,
const std::vector<cbl::cosmology::CosmologicalParameter> cosmo_param,
const double area,
const std::vector<double> W_mean,
const std::vector<double> W_std,
const std::string method_Pk=
"EisensteinHu",
const double delta_z=0.001,
const double precision=10,
const bool NL=
false,
const bool store_output=
false);
296 std::vector<std::vector<double>>
operator () (std::vector<double> ¶meter)
const;
353 void write_Sij (
const std::string dir,
const std::string file);
The class SuperSampleCovariance.
int m_nbins
number of redshift bins
std::vector< std::vector< double > > m_windows
window functions in the redshift bins
std::vector< std::shared_ptr< statistics::Model > > m_response_func
pointer to the response function of the probe
void m_compute_topHat_window(const double delta_z, const std::vector< double > redshift_edges)
compute the top-hat window functions in the redshift bins
std::vector< std::vector< double > > operator()(std::vector< double > ¶meter) const
get
bool m_store_output
store Pk output
void m_compute_gaussian_window(const double delta_z, const std::vector< double > W_mean, const std::vector< double > W_std)
compute the Gaussian window functions in the redshift bins
int Sij_dimension()
return the dimension of the Sij matrix
std::vector< std::vector< double > > m_compute_Sij(cbl::cosmology::Cosmology cosmo) const
compute the S_ij matrix
void write_window_function(const std::string dir, const std::string file)
write the window functions on file
double m_area
survey area in steradians
int m_nsteps
number of redshift steps where the S matrix is computed
virtual ~SuperSampleCovariance()=default
default destructor
std::shared_ptr< cosmology::Cosmology > m_cosmo
pointer to the Cosmology object
std::vector< cbl::cosmology::CosmologicalParameter > m_cosmo_param
names of the cosmological parameters
void write_Sij(const std::string dir, const std::string file)
Write the matrix on file.
std::vector< std::vector< double > > get_window_function()
return the window functions
std::string m_method_Pk
method used to compute the power spectrum
double m_precision
precision of the array
bool m_NL
linear o non-linear power-spectrum
std::vector< double > m_redshifts
vector containing the redshift values where the S matrix is computed
SuperSampleCovariance(cbl::cosmology::Cosmology cosm, const std::vector< cbl::cosmology::CosmologicalParameter > cosmo_param, const std::vector< double > redshift_edges, const double area, const std::string method_Pk="EisensteinHu", const double delta_z=0.001, const double precision=10, const bool NL=false, const bool store_output=false)
Default constructor, used to compute the matrix, assuming top-hat window functions....
The global namespace of the CosmoBolognaLib