Constructor

NumCosmoXcorKernelAnalyticMultinew

Declaration [src]

NcXcorKernelAnalyticMulti*
nc_xcor_kernel_analytic_multi_new (
  NcDistance* dist,
  NcmPowspec* ps,
  NcmVector* chi_mean,
  NcmVector* chi_sigma,
  NcmVector* weight,
  gdouble n_sigma
)

Description [src]

Creates a new NcXcorKernelAnalyticMulti. The three vectors must have the same length.

Parameters

dist

Type: NcDistance

A NcDistance.

The data is owned by the caller of the function.
ps

Type: NcmPowspec

A NcmPowspec.

The data is owned by the caller of the function.
chi_mean

Type: NcmVector

Bump centres $\chi_i$, in Mpc.

The data is owned by the caller of the function.
chi_sigma

Type: NcmVector

Bump standard deviations $\sigma_i$, in Mpc.

The data is owned by the caller of the function.
weight

Type: NcmVector

Relative bump weights $w_i$.

The data is owned by the caller of the function.
n_sigma

Type: gdouble

Truncation half-width of each bump, in units of its own $\sigma_i$.

Return value

Type: NcXcorKernelAnalyticMulti

A new NcXcorKernelAnalyticMulti.

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