Author: bugman Date: Sun Apr 13 20:45:48 2008 New Revision: 5652 URL: http://svn.gna.org/viewcvs/relax?rev=5652&view=rev Log: Converted the aic() docstring to epydoc format. Modified: 1.3/generic_fns/model_selection.py Modified: 1.3/generic_fns/model_selection.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/model_selection.py?rev=5652&r1=5651&r2=5652&view=diff ============================================================================== --- 1.3/generic_fns/model_selection.py (original) +++ 1.3/generic_fns/model_selection.py Sun Apr 13 20:45:48 2008 @@ -32,13 +32,19 @@ def aic(chi2, k, n): """Akaike's Information Criteria (AIC). - The formula is: + The formula is:: AIC = chi2 + 2k - where: - chi2 is the minimised chi-squared value. - k is the number of parameters in the model. + + @param chi2: The minimised chi-squared value. + @type chi2: float + @param k: The number of parameters in the model. + @type k: int + @param n: The dimension of the relaxation data set. + @type n: int + @return: The AIC value. + @rtype: float """ return chi2 + 2.0*k