Method

NumCosmoGalaxyShapePopgen

Declaration [src]

void
nc_galaxy_shape_pop_gen (
  NcGalaxyShapePop* gsp,
  NcGalaxyShapePopData* data,
  NcmRNG* rng,
  gdouble* e_int_1,
  gdouble* e_int_2
)

Description [src]

Samples an intrinsic ellipticity $\chi_I = e_1 + i e_2$ from data.

Parameters

data

Type: NcGalaxyShapePopData

A resolved NcGalaxyShapePopData.

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.
e_int_1

Type: gdouble*

First component of the sampled intrinsic ellipticity.

The argument will be set by the function.
e_int_2

Type: gdouble*

Second component of the sampled intrinsic ellipticity.

The argument will be set by the function.