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:
NcGalaxyShapeFactorA
NcGalaxyShapeFactor.The data is owned by the caller of the function. mset-
Type:
NcmMSetA
NcmMSet.The data is owned by the caller of the function. pos_data-
Type:
NcGalaxyPositionFactorDataThe upstream
NcGalaxyPositionFactorData.The data is owned by the caller of the function. z_data-
Type:
NcGalaxyRedshiftFactorDataThe 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. |