Method
NumCosmoHIPertEMprepare_spectrum
Declaration [src]
void
nc_hipert_em_prepare_spectrum (
NcHIPertEM* pem,
NcmModel* model,
GArray* k_array,
GArray* tau_array,
NcmPowspecSpline2d** ps_E,
NcmPowspecSpline2d** ps_B
)
Description [src]
Prepares the electric and magnetic field power spectra in units of Gauss squared $G_\mathrm{s}^2$.
Parameters
model-
Type:
NcmModelA
NcmModel.The data is owned by the caller of the method. k_array-
Type: An array of
doubleA
GArraywith the wave numbers.The data is owned by the caller of the method. tau_array-
Type: An array of
doubleA
GArraywith the times.The data is owned by the caller of the method. ps_E-
Type:
NcmPowspecSpline2dThe electric field power spectrum.
The argument will be set by the function. The caller of the method takes ownership of the returned data, and is responsible for freeing it. ps_B-
Type:
NcmPowspecSpline2dThe magnetic field power spectrum.
The argument will be set by the function. The caller of the method takes ownership of the returned data, and is responsible for freeing it.