Constructor

NumCosmoDataBaoEmpiricalFit2dnew

Declaration [src]

NcDataBaoEmpiricalFit2d*
nc_data_bao_empirical_fit_2d_new (
  NcmSpline2d* m2lnp,
  gdouble Dh_rd_fiduc,
  gdouble Dt_rd_fiduc,
  gdouble z
)

Description [src]

Creates a new empirical BAO data object.

Parameters

m2lnp

Type: NcmSpline2d

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

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

Type: gdouble

Fiducial $D_H/r_d$.

Dt_rd_fiduc

Type: gdouble

Fiducial $D_t/r_d$.

z

Type: gdouble

Data redshift.

Return value

Type: NcDataBaoEmpiricalFit2d

The newly created NcDataBaoEmpiricalFit2d.

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