Virtual Method

NumCosmoGalaxyRedshiftFactorgen

Declaration [src]

void
gen (
  NcGalaxyRedshiftFactor* gsdr,
  NcmMSet* mset,
  NcGalaxyRedshiftFactorData* data,
  NcmRNG* rng
)

Description [src]

Generates a new galaxy redshift sample into data (draws the true redshift and the redshift observation) using the models in mset. The data object must be initialized beforehand.

Parameters

mset

Type: NcmMSet

A NcmMSet supplying the scheme’s models.

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

Type: NcGalaxyRedshiftFactorData

A NcGalaxyRedshiftFactorData.

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.