Method

NumCosmoGalaxyShapeFactorgen

Declaration [src]

void
nc_galaxy_shape_factor_gen (
  NcGalaxyShapeFactor* gsf,
  NcmMSet* mset,
  NcGalaxyShapeFactorData* data,
  NcmRNG* rng
)

Description [src]

Generates a galaxy shape: the intrinsic ellipticity is drawn from the NcGalaxyShapePop in mset, sheared with the reduced shear at the galaxy’s (ra, dec, z) with the calibration bias applied, and observed with additive Gaussian noise. The per-galaxy measurement quantities (std_noise, c1, c2, m) and the frame data->coord must be set beforehand (see nc_galaxy_shape_factor_data_set()). The shape is generated in the celestial frame and mapped to data->coord (see NcWLEllipticityFrame); since the intrinsic shape and noise are isotropic the generation is frame-symmetric, while the additive bias (c1, c2) is taken to be already expressed in data->coord.

Parameters

mset

Type: NcmMSet

A NcmMSet.

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

Type: NcGalaxyShapeFactorData

A NcGalaxyShapeFactorData.

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.