Top |
NcPowspecMLFixSplineNcPowspecMLFixSpline — Class for linear matter power spectrum from a fixed spline. |
Provides a linear matter power spectrum as a function of mode $k$ at a redshift $z_0$ computing a spline, whose knots and the respective $P(k, z = z_0)$ values are provided in a file.
NcPowspecMLFixSpline *
nc_powspec_ml_fix_spline_new (const gchar *filename
);
Creates a new NcPowspecMLFixSpline from a spline of the power spectrum,
$P(k, z=z_0)$ at a given redshift $z_0$, which is present in the serialized object filename
.
void nc_powspec_ml_fix_spline_set_file (NcPowspecMLFixSpline *ps_fs
,const gchar *filename
);
Attributes a spline of the power spectrum at a redshift $z_0$, P(k, z_0), from filename
.
“filename”
property “filename” char *
The file name containing $P(k, z=z_0)$ in a serialized NcmSpline format.
Owner: NcPowspecMLFixSpline
Flags: Read / Write / Construct
Default value: NULL