Method

NumCosmoHIPertGWeval_powspec

Declaration [src]

NcmSpline*
nc_hipert_gw_eval_powspec (
  NcHIPertGW* pgw,
  NcmModel* model,
  const gdouble tau,
  GArray* k_a
)

Description [src]

Evaluates the power spectrum of the tensor perturbation at a given time $$ P_h = u^2\frac{k^3}{2\pi^2} \frac{J_{11}}{2}. $$ where $u$ is the numerical factor for the power spectrum of the tensor mode, $k$ is the wave number.

Parameters

model

Type: NcmModel

A NcmModel.

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

Type: const gdouble

$\tau$.

k_a

Type: An array of double

An array of wave numbers.

The data is owned by the caller of the method.

Return value

Type: NcmSpline

The power spectrum of the tensor perturbation.

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