Method

NumCosmoGalaxySDObsRedshiftSpecgen1

Declaration [src]

gboolean
nc_galaxy_sd_obs_redshift_spec_gen1 (
  NcGalaxySDObsRedshiftSpec* gsdorspec,
  NcmMSet* mset,
  NcGalaxySDObsRedshiftData* data,
  NcmRNG* rng
)

Description [src]

Generates a galaxy observed redshift. See nc_galaxy_sd_obs_redshift_spec_gen() 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.
rng

Type: NcmRNG

A NcmRNG.

The data is owned by the caller of the method.

Return value

Type: gboolean

TRUE if data->z is within the redshift limits.