mailr5652 - /1.3/generic_fns/model_selection.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on April 13, 2008 - 21:07:
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




Related Messages


Powered by MHonArc, Updated Sun Apr 13 21:40:17 2008