Method
NumCosmoClusterMassresample_vec
Declaration [src]
gboolean
nc_cluster_mass_resample_vec (
NcClusterMass* clusterm,
NcHICosmo* cosmo,
const gdouble lnM,
gdouble z,
NcmVector* lnM_obs,
const NcmVector* lnM_obs_params,
NcmRNG* rng
)
Description [src]
Generates a random sample of the observed mass proxies given the true mass and redshift.
This is a convenience wrapper around nc_cluster_mass_resample() that uses NcmVector
for proper Python bindings support.
Parameters
cosmo-
Type:
NcHICosmoA
NcHICosmo.The data is owned by the caller of the method. lnM-
Type:
const gdoubleLogarithm base e of the true mass.
z-
Type:
gdoubleTrue redshift.
lnM_obs-
Type:
NcmVectorA
NcmVectorto store the observed mass proxies.The data is owned by the caller of the method. lnM_obs_params-
Type:
NcmVectorA
NcmVectorwith observed mass params.The argument can be NULL.The data is owned by the caller of the method. rng-
Type:
NcmRNGA
NcmRNG.The data is owned by the caller of the method.