Function

NumCosmoGalaxyPositionFactorIntegrandnew

Declaration [src]

NcGalaxyPositionFactorIntegrand*
nc_galaxy_position_factor_integrand_new (
  NcGalaxyPositionFactorIntegrandFunc func,
  NcGalaxyPositionFactorIntegrandFreeData callback_data_free,
  NcGalaxyPositionFactorIntegrandCopyData callback_data_copy,
  NcGalaxyPositionFactorIntegrandPrepareData callback_data_prepare,
  gpointer callback_data
)

Description [src]

Creates a new integrand for the galaxy position data. The integrand takes the per-galaxy data and returns the position density (or its natural logarithm) at the galaxy’s stored (ra, dec).

This function is not directly available to language bindings.

Parameters

func

Type: NcGalaxyPositionFactorIntegrandFunc

A NcGalaxyPositionFactorIntegrandFunc.

callback_data_free

Type: NcGalaxyPositionFactorIntegrandFreeData

A NcGalaxyPositionFactorIntegrandFreeData.

callback_data_copy

Type: NcGalaxyPositionFactorIntegrandCopyData

A NcGalaxyPositionFactorIntegrandCopyData.

callback_data_prepare

Type: NcGalaxyPositionFactorIntegrandPrepareData

A NcGalaxyPositionFactorIntegrandPrepareData.

callback_data

Type: gpointer

A gpointer.

The argument can be NULL.
The data is owned by the caller of the function.

Return value

Type: NcGalaxyPositionFactorIntegrand

A new NcGalaxyPositionFactorIntegrand object.

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