Constructor

NumCosmoDataBaoEmpiricalFitnew

Declaration [src]

NcDataBaoEmpiricalFit*
nc_data_bao_empirical_fit_new (
  NcmSpline* m2lnp,
  gdouble Dv_fiduc,
  gdouble rs_fiduc,
  gdouble z
)

Description [src]

Creates a new NcDataBaoEmpiricalFit.

Parameters

m2lnp

Type: NcmSpline

A NcmSpline containing $-2\ln (p)$.

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

Type: gdouble

Fiducial $D_V$.

rs_fiduc

Type: gdouble

Fiducial $r_s$.

z

Type: gdouble

Data redshift.

Return value

Type: NcDataBaoEmpiricalFit

The newly created NcDataBaoEmpiricalFit.

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