63 std::vector<std::shared_ptr<catalogue::Catalogue>>
m_catalogue = {};
156 std::shared_ptr<catalogue::Catalogue>
catalogue (
const size_t i);
284 void generate (
const int n_lognormal_mocks,
const std::string output_dir,
const std::string filename=
"lognormal",
const int start=1,
const int seed=3213);
double bias() const
get the private member LogNormal::m_bias
double m_redshift
the mean redshift the log-normal catalogues
int nObjects() const
get the private member LogNormal::m_nObjects
catalogue::Catalogue m_random
the random catalogues used to construct the mask
void set_method_Pk(const std::string method_Pk)
set the private member LogNormal::m_method_Pk
LogNormal()=default
default constructor
void set_bias(const double bias)
set the private member LogNormal::m_bias
double m_bias
the bias of the log-normal density field catalogues
void generate(const int n_lognormal_mocks, const std::string output_dir, const std::string filename="lognormal", const int start=1, const int seed=3213)
generate the log-normal mock catalogues
double m_cell_size
the cell size in comoving scale
LogNormal(const catalogue::Catalogue random, const cosmology::Cosmology cosmology, const int nObjects, const double redshift, const double bias, const double cell_size, const bool real=true, const std::string method_Pk="CAMB", const bool NL=false)
constructor
~LogNormal()=default
default destructor
void set_real(const bool real)
set the private member LogNormal::m_real
bool real() const
get the private member LogNormal::m_real
bool m_real
true → real space; false → redshift space (only monopole distortions)
std::shared_ptr< catalogue::Catalogue > catalogue(const size_t i)
get the private member LogNormal::m_LNCat[i]
std::vector< std::shared_ptr< catalogue::Catalogue > > m_catalogue
vector containing pointers to the log-normal realizations
bool m_NL
true → compute the non-linear power spectrum; false → compute the linear power spectrum
std::string method_Pk() const
get the private member LogNormal::m_method_Pk
int m_nObjects
the mean total number of objects in the log-normal catalogues
void set_nObjects(const int nObjects)
set the private member LogNormal::m_nObjects
int redshift() const
get the private member LogNormal::m_redshift
void set_redshift(const double redshift)
set the private member LogNormal::m_redshift
cosmology::Cosmology m_cosmology
the assumed cosmological model
std::string m_method_Pk
the method to compute the model power spectrum (i.e. the Boltzmann solver)
bool NL() const
get the private member LogNormal::m_NL
void set_NL(const bool NL)
set the private member LogNormal::m_NL
The global namespace of the CosmoBolognaLib