Method

NumCosmoGalaxySelfuncload_from_txts

Declaration [src]

void
nc_galaxy_selfunc_load_from_txts (
  NcGalaxySelfunc* gsf,
  const gchar* prefix,
  const gchar* suffix
)

Description [src]

Reads each shell selection function from files. The files are named as prefix.n.suffix or prefix.n if suffix is NULL. The value of n goes from 0 to nshells - 1. Each file must contain pairs of doubles describing the redshift its corresponding selection function value.

Parameters

prefix

Type: const gchar*

Files prefix.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
suffix

Type: const gchar*

Files prefix.

The argument can be NULL.
The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.