Function

NumCosmoGalaxyShapeFactorDatanew

Declaration [src]

NcGalaxyShapeFactorData*
nc_galaxy_shape_factor_data_new (
  NcGalaxyShapeFactor* gsf,
  NcmMSet* mset,
  NcGalaxyPositionFactorData* pos_data,
  NcGalaxyRedshiftFactorData* z_data
)

Description [src]

Creates a new per-galaxy shape data. The intrinsic-ellipticity fragment is allocated by the NcGalaxyShapePop resolved from mset; the upstream fragments are referenced, not copied.

Parameters

gsf

Type: NcGalaxyShapeFactor

A NcGalaxyShapeFactor.

The data is owned by the caller of the function.
mset

Type: NcmMSet

A NcmMSet.

The data is owned by the caller of the function.
pos_data

Type: NcGalaxyPositionFactorData

The upstream NcGalaxyPositionFactorData.

The data is owned by the caller of the function.
z_data

Type: NcGalaxyRedshiftFactorData

The upstream NcGalaxyRedshiftFactorData.

The data is owned by the caller of the function.

Return value

Type: NcGalaxyShapeFactorData

A new NcGalaxyShapeFactorData object.

The caller of the function takes ownership of the data, and is responsible for freeing it.