mailr4750 - /branches/N_state_model/specific_fns/n_state_model.py


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

Header


Content

Posted by edward on January 15, 2008 - 15:38:
Author: bugman
Date: Tue Jan 15 15:23:38 2008
New Revision: 4750

URL: http://svn.gna.org/viewcvs/relax?rev=4750&view=rev
Log:
Initialised the grid_ops structure.


Modified:
    branches/N_state_model/specific_fns/n_state_model.py

Modified: branches/N_state_model/specific_fns/n_state_model.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/N_state_model/specific_fns/n_state_model.py?rev=4750&r1=4749&r2=4750&view=diff
==============================================================================
--- branches/N_state_model/specific_fns/n_state_model.py (original)
+++ branches/N_state_model/specific_fns/n_state_model.py Tue Jan 15 15:23:38 
2008
@@ -90,8 +90,14 @@
             print "Cannot run a grid search on a model with zero parameters, 
skipping the grid search."
             return
 
+        # Initialise the grid_ops structure.
+        grid_ops = []
+        """This structure is a list of lists.  The first dimension 
corresponds to the model
+        parameter.  The second dimension has the elements: 0, the number of 
increments in that
+        dimension; 1, the lower limit of the grid; 2, the upper limit of the 
grid."""
+
         # Minimisation.
-        self.minimise(min_algor='grid', constraints=constraints, 
verbosity=verbosity, sim_index=sim_index)
+        self.minimise(min_algor='grid', min_ops=grid_ops, 
constraints=constraints, verbosity=verbosity, sim_index=sim_index)
 
 
     def linear_constraints(self):




Related Messages


Powered by MHonArc, Updated Tue Jan 15 16:00:12 2008