Constructor

NumCosmoGalaxySDObsRedshiftGaussnew

Declaration [src]

NcGalaxySDObsRedshiftGauss*
nc_galaxy_sd_obs_redshift_gauss_new (
  NcGalaxySDTrueRedshift* sdz,
  const gdouble zp_min,
  const gdouble zp_max
)

Description [src]

Creates a new NcGalaxySDObsRedshiftGauss object.

Parameters

sdz

Type: NcGalaxySDTrueRedshift

A NcGalaxySDTrueRedshift.

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

Type: const gdouble

The minimum photometric redshift.

zp_max

Type: const gdouble

The maximum photometric redshift.

Return value

Type: NcGalaxySDObsRedshiftGauss

A new NcGalaxySDObsRedshiftGauss object.

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