mailr4890 - /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 25, 2008 - 16:07:
Author: bugman
Date: Fri Jan 25 16:07:28 2008
New Revision: 4890

URL: http://svn.gna.org/viewcvs/relax?rev=4890&view=rev
Log:
Implemented the N-state specific is_spin_param() method.


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=4890&r1=4889&r2=4890&view=diff
==============================================================================
--- branches/N_state_model/specific_fns/n_state_model.py (original)
+++ branches/N_state_model/specific_fns/n_state_model.py Fri Jan 25 16:07:28 
2008
@@ -242,6 +242,22 @@
 
         # Minimisation.
         self.minimise(min_algor='grid', min_options=grid_ops, 
constraints=constraints, verbosity=verbosity, sim_index=sim_index)
+
+
+    def is_spin_param(self, name):
+        """Determine whether the given parameter is spin specific.
+
+        This method always returns false as there are no spin specific 
parameters in this type of
+        analysis.
+
+        @param name:    The name of the parameter.
+        @type name:     str
+        @return:        False
+        @rtype:         bool
+        """
+
+        # Return false.
+        return False
 
 
     def linear_constraints(self):




Related Messages


Powered by MHonArc, Updated Fri Jan 25 16:20:10 2008