Constructor

NumCosmoGalaxyRedshiftPopLSSTSRDnew_from_type

Declaration [src]

NcGalaxyRedshiftPopLSSTSRD*
nc_galaxy_redshift_pop_lsst_srd_new_from_type (
  NcGalaxyRedshiftPopLSSTSRDType type
)

Description [src]

Creates a new NcGalaxyRedshiftPopLSSTSRD using a predefined type. The type determines which LSST SRD parametrization to use (Year 1 or Year 10, source or lens).

Parameters

type

Type: NcGalaxyRedshiftPopLSSTSRDType

A NcGalaxyRedshiftPopLSSTSRDType.

Return value

Type: NcGalaxyRedshiftPopLSSTSRD

A new NcGalaxyRedshiftPopLSSTSRD.

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