Method

NumCosmoGalaxyShapePopget_mode_x

Declaration [src]

gdouble
nc_galaxy_shape_pop_get_mode_x (
  NcGalaxyShapePop* gsp,
  NcGalaxyShapePopData* data
)

Description [src]

Gets the mode of $x=|\chi_I|^2$ for this galaxy’s resolved population density, i.e. where $P(x)$ peaks. This is a per-data capability (data->ldata_get_mode_x), not a virtual method, mirroring nc_galaxy_shape_pop_get_sigma(); unlike that capability, 0 is always a meaningful default (the model is assumed radially symmetric about $\chi_I=0$ unless it says otherwise), so this never errors.

Parameters

data

Type: NcGalaxyShapePopData

A resolved NcGalaxyShapePopData.

The data is owned by the caller of the method.

Return value

Type: gdouble

The mode of $x$, or 0 if the model does not override it.