mailr9963 - /1.3/specific_fns/api_base.py


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

Header


Content

Posted by edward on November 25, 2009 - 10:07:
Author: bugman
Date: Wed Nov 25 10:07:09 2009
New Revision: 9963

URL: http://svn.gna.org/viewcvs/relax?rev=9963&view=rev
Log:
Docstring fixes.


Modified:
    1.3/specific_fns/api_base.py

Modified: 1.3/specific_fns/api_base.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/specific_fns/api_base.py?rev=9963&r1=9962&r2=9963&view=diff
==============================================================================
--- 1.3/specific_fns/api_base.py (original)
+++ 1.3/specific_fns/api_base.py Wed Nov 25 10:07:09 2009
@@ -41,6 +41,7 @@
 
         Specific implementations of this generator method are free to yield 
any type of data.  The data which is yielded is then passed into the specific 
functions such as return_data(), return_error(), create_mc_data(), 
pack_sim_data(), etc., so these methods should handle the data thrown at 
them.  If multiple data is yielded, this is caught as a tuple and passed into 
the dependent methods as a tuple.
 
+
         @return:    Information concerning the base data of the analysis.  
For this base class method, the loop is over the spins and the yielded value 
is the spin identification string.
         @rtype:     anything
         """
@@ -87,6 +88,7 @@
         """Dummy method for initialising data structures.
 
         This method does nothing!
+
 
         @param data_cont:   The data container.
         @type data_cont:    instance
@@ -508,8 +510,7 @@
     def return_error(self, spin_id):
         """Return the Ri error structure for the corresponding spin.
 
-        @param spin_id: The spin identification string, as yielded by the 
base_data_loop() generator
-                        method.
+        @param spin_id: The spin identification string, as yielded by the 
base_data_loop() generator method.
         @type spin_id:  str
         @return:        The array of relaxation data error values.
         @rtype:         list of float
@@ -878,18 +879,14 @@
     def test_grid_ops(self, lower=None, upper=None, inc=None, n=None):
         """Function for testing that the grid search options are reasonable.
 
-        @param lower:       The lower bounds of the grid search which must 
be equal to the number of
-                            parameters in the model.
-        @type lower:        array of numbers
-        @param upper:       The upper bounds of the grid search which must 
be equal to the number of
-                            parameters in the model.
-        @type upper:        array of numbers
-        @param inc:         The increments for each dimension of the space 
for the grid search.  The
-                            number of elements in the array must equal to 
the number of parameters
-                            in the model.
-        @type inc:          array of int
-        @param n:           The number of parameters in the model.
-        @type n:            int
+        @param lower:   The lower bounds of the grid search which must be 
equal to the number of parameters in the model.
+        @type lower:    array of numbers
+        @param upper:   The upper bounds of the grid search which must be 
equal to the number of parameters in the model.
+        @type upper:    array of numbers
+        @param inc:     The increments for each dimension of the space for 
the grid search.  The number of elements in the array must equal to the 
number of parameters in the model.
+        @type inc:      array of int
+        @param n:       The number of parameters in the model.
+        @type n:        int
         """
 
         # Lower bounds test.




Related Messages


Powered by MHonArc, Updated Wed Nov 25 10:20:05 2009