Method
NumCosmoHaloCatalogGeneratorgenerate
Declaration [src]
NcHaloCatalog*
nc_halo_catalog_generator_generate (
NcHaloCatalogGenerator* gen,
NcmMSet* mset,
NcmRNG* rng
)
Description [src]
Draws a Poisson realization of the cluster number counts and samples the
observed redshift and mass of each object, returning them as a
NcHaloCatalog of kind NC_HALO_CATALOG_KIND_CLUSTER. See the class
description for the column layout.
Return value
Type: NcHaloCatalog
A new NcHaloCatalog with the sampled objects.
| The caller of the method takes ownership of the returned data, and is responsible for freeing it. |