mailr4436 - /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 07, 2008 - 16:56:
Author: bugman
Date: Mon Jan  7 16:56:12 2008
New Revision: 4436

URL: http://svn.gna.org/viewcvs/relax?rev=4436&view=rev
Log:
Implemented a stub for the minimise() method.  The method doesn't do anything 
yet.


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=4436&r1=4435&r2=4436&view=diff
==============================================================================
--- branches/N_state_model/specific_fns/n_state_model.py (original)
+++ branches/N_state_model/specific_fns/n_state_model.py Mon Jan  7 16:56:12 
2008
@@ -67,6 +67,35 @@
         """Dummy function nornally for deselecting spins with insufficient 
data for minimisation."""
 
 
+    def minimise(self, min_algor=None, min_options=None, func_tol=None, 
grad_tol=None, max_iterations=None, constraints=0, scaling=1, print_flag=0, 
sim_index=None):
+        """Minimisation function.
+
+        @param min_algor:       The minimisation algorithm to use.
+        @type min_algor:        str
+        @param min_options:     An array of options to be used by the 
minimisation algorithm.
+        @type min_options:      array of str
+        @param func_tol:        The function tolerence which, when reached, 
terminates optimisation.
+                                Setting this to None turns of the check.
+        @type func_tol:         None or float
+        @param grad_tol:        The gradient tolerence which, when reached, 
terminates optimisation.
+                                Setting this to None turns of the check.
+        @type grad_tol:         None or float
+        @param max_iterations:  The maximum number of iterations for the 
algorithm.
+        @type max_iterations:   int
+        @param constraints:     If true, constraints are used during 
optimisation.
+        @type constraints:      bool
+        @param scaling:         If true, diagonal scaling is enabled during 
optimisation to allow
+                                the problem to be better conditioned.
+        @type scaling:          bool
+        @param print_flag:      A flag specifying the amount of information 
to print.  The higher
+                                the value, the greater the verbosity.
+        @type print_flag:       int
+        @param sim_index:       The index of the simulation to optimise.  
This should be None if
+                                normal optimisation is desired.
+        @type sim_index:        None or int
+        """
+
+
     def return_data_name(self, name):
         """
         N-state model data type string matching patterns




Related Messages


Powered by MHonArc, Updated Mon Jan 07 17:20:10 2008