model_statistics(self,
model_info=None,
spin_id=None,
global_stats=None)
| source code
|
Return the k, n, and chi2 model statistics of the hybrid.
k - number of parameters. n - number of data points. chi2 - the
chi-squared value.
- Parameters:
model_index (int) - The model index. This is zero for the global models or equal to
the global spin index (which covers the molecule, residue, and
spin indices). This originates from the model_loop().
spin_id (None or str) - The spin identification string. Either this or the instance
keyword argument must be supplied.
global_stats (None or bool) - A parameter which determines if global or local statistics are
returned. If None, then the appropriateness of global or local
statistics is automatically determined.
- Returns: tuple of int, int, float
- The optimisation statistics, in tuple format, of the number of
parameters (k), the number of data points (n), and the
chi-squared value (chi2).
|