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:
NcGalaxyPositionFactorIntegrandFuncA
NcGalaxyPositionFactorIntegrandFunc. callback_data_free-
Type:
NcGalaxyPositionFactorIntegrandFreeDataA
NcGalaxyPositionFactorIntegrandFreeData. callback_data_copy-
Type:
NcGalaxyPositionFactorIntegrandCopyDataA
NcGalaxyPositionFactorIntegrandCopyData. callback_data_prepare-
Type:
NcGalaxyPositionFactorIntegrandPrepareDataA
NcGalaxyPositionFactorIntegrandPrepareData. callback_data-
Type:
gpointerA 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. |