Function

NumCosmoGalaxySDShapeDatanew

Declaration [src]

NcGalaxySDShapeData*
nc_galaxy_sd_shape_data_new (
  NcGalaxySDShape* gsds,
  NcGalaxySDPositionData* sdpos_data
)

Description [src]

Creates a new galaxy shape data.

Parameters

gsds

Type: NcGalaxySDShape

A NcGalaxySDShape.

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

Type: NcGalaxySDPositionData

A NcGalaxySDPositionData.

The data is owned by the caller of the function.

Return value

Type: NcGalaxySDShapeData

A new NcGalaxySDShapeData object.

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