Constructor

NumCosmoGalaxySDTrueRedshiftLSSTSRDnew_from_type

Declaration [src]

NcGalaxySDTrueRedshiftLSSTSRD*
nc_galaxy_sd_true_redshift_lsst_srd_new_from_type (
  NcGalaxySDTrueRedshiftLSSTSRDType type
)

Description [src]

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

Parameters

type

Type: NcGalaxySDTrueRedshiftLSSTSRDType

A NcGalaxySDTrueRedshiftLSSTSRDType.

Return value

Type: NcGalaxySDTrueRedshiftLSSTSRD

A new NcGalaxySDTrueRedshiftLSSTSRD.

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