Method

NumCosmoMathMSetCatalogcalc_max_ess_time

Declaration [src]

guint
ncm_mset_catalog_calc_max_ess_time (
  NcmMSetCatalog* mcat,
  const guint ntests,
  gdouble* max_ess,
  NcmFitRunMsgs mtype
)

Description [src]

Calculates the time $t_m$ that maximizes the ESS for all elements of the catalog. If the number of chains in the catalog is larger than one, it considers the whole catalog otherwise it considers the ensemble means. The variable ntests control the number of divisions where the ESS will be calculated, if it is zero the default 10 tests will be used.

Parameters

ntests

Type: const guint

Number of tests.

max_ess

Type: gdouble*

The maximum effective sample size (ESS).

The argument will be set by the function.
mtype

Type: NcmFitRunMsgs

NcmFitRunMsgs log level.

Return value

Type: guint

The lowest time $t_m$.