Method
NumCosmoGalaxyRedshiftObsgen
Declaration [src]
gdouble
nc_galaxy_redshift_obs_gen (
NcGalaxyRedshiftObs* gsdre,
NcGalaxyRedshiftObsData* data,
const gdouble z,
NcmRNG* rng
)
Description [src]
Samples a photometric-redshift observation given the true redshift z, storing
the sampled observable(s) into data and returning the sampled point estimate.
Parameters
data-
Type:
NcGalaxyRedshiftObsDataA
NcGalaxyRedshiftObsDatawhose observation inputs are set.The data is owned by the caller of the method. z-
Type:
const gdoubleThe true redshift $z$.
rng-
Type:
NcmRNGA
NcmRNG.The data is owned by the caller of the method.