Function

NumCosmoGalaxySDPositionDatanew

Declaration [src]

NcGalaxySDPositionData*
nc_galaxy_sd_position_data_new (
  NcGalaxySDPosition* gsdp,
  NcGalaxySDObsRedshiftData* sdz_data
)

Description [src]

Creates a new galaxy position data.

Parameters

gsdp

Type: NcGalaxySDPosition

A NcGalaxySDPosition.

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

Type: NcGalaxySDObsRedshiftData

A NcGalaxySDObsRedshiftData.

The data is owned by the caller of the function.

Return value

Type: NcGalaxySDPositionData

A new NcGalaxySDPositionData object.

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