Method

NumCosmoGalaxySDObsRedshiftGaussgen1

Declaration [src]

gboolean
nc_galaxy_sd_obs_redshift_gauss_gen1 (
  NcGalaxySDObsRedshiftGauss* gsdorgauss,
  NcmMSet* mset,
  NcGalaxySDObsRedshiftData* data,
  const gdouble sigma0,
  NcmRNG* rng
)

Description [src]

Sets the required columns for the data and generates a redshift observation. See nc_galaxy_sd_obs_redshift_gen1() for details.

Parameters

mset

Type: NcmMSet

A NcmMSet.

The data is owned by the caller of the method.
data

Type: NcGalaxySDObsRedshiftData

A NcGalaxySDObsRedshiftData.

The data is owned by the caller of the method.
sigma0

Type: const gdouble

The standard deviation of the redshift errors.

rng

Type: NcmRNG

A NcmRNG.

The data is owned by the caller of the method.

Return value

Type: gboolean

Whether the redshift observation is within the limits.