Constructor

NumCosmoGalaxySDObsRedshiftSpecnew

Declaration [src]

NcGalaxySDObsRedshiftSpec*
nc_galaxy_sd_obs_redshift_spec_new (
  NcGalaxySDTrueRedshift* sdz,
  const gdouble z_min,
  const gdouble z_max
)

Description [src]

Creates a new NcGalaxySDObsRedshiftSpec object.

Parameters

sdz

Type: NcGalaxySDTrueRedshift

A NcGalaxySDTrueRedshift.

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

Type: const gdouble

The minimum redshift.

z_max

Type: const gdouble

The maximum redshift.

Return value

Type: NcGalaxySDObsRedshiftSpec

A new NcGalaxySDObsRedshiftSpec object.

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