Virtual Method

NumCosmoXcorKernelRadialeval_kernel_factor

Declaration [src]

gdouble
eval_kernel_factor (
  NcXcorKernelRadial* xcka,
  guint comp,
  NcHICosmo* cosmo,
  gdouble chi,
  gdouble k
)

Description [src]

Evaluates a multiplicative factor of $(\chi, k)$ applied to component comp on top of $W(\chi)\sqrt{P(k,0)}$. It must not depend on $\ell$: one closure serves a whole block of multipoles, so anything $\ell$-dependent belongs in nc_xcor_kernel_radial_eval_prefactor() instead.

Shear is the motivating case, where the kernel carries $1/(k\chi)^2$.

Defaults to 1.

Parameters

comp

Type: guint

Component index.

cosmo

Type: NcHICosmo

A NcHICosmo.

The data is owned by the caller of the method.
chi

Type: gdouble

Comoving distance $\chi$ in Mpc.

k

Type: gdouble

Wave number in Mpc$^{-1}$.

Return value

Type: gdouble

The factor at chi and k.