Method

NumCosmoMathPowspeccorr3d

Declaration [src]

gdouble
ncm_powspec_corr3d (
  NcmPowspec* powspec,
  NcmModel* model,
  const gdouble reltol,
  const gdouble z,
  const gdouble r
)

Description [src]

Computes the spatial correlation function in configuration space at redshift $z$ and position $r$, $$\xi(r,z) = \frac{1}{2\pi^2} \int_{k_{\mathrm{min}}}^{k_\mathrm{max}} P(k,z) \, j_{0}(kr) \, k^2 \, \mathrm{d}k \, ,$$ where, $j_0(t)$ is the zero order spherical Bessel function of the first kind. This function is recommended for a small set of $r$ and $z$ values. For a wide range of values it is best to apply NcmPowspecCorr3d, instead.

Parameters

model

Type: NcmModel

A NcmModel.

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

Type: const gdouble

Relative tolerance for integration.

z

Type: const gdouble

The value of $z$.

r

Type: const gdouble

The value of $r$.

Return value

Type: gdouble

$\xi(r,z)$.