mailr19371 - /branches/relax_disp/target_functions/relax_disp.py


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

Header


Content

Posted by edward on April 04, 2013 - 17:47:
Author: bugman
Date: Thu Apr  4 17:47:21 2013
New Revision: 19371

URL: http://svn.gna.org/viewcvs/relax?rev=19371&view=rev
Log:
Fix for the func_exp_fit() relaxation dispersion target function.

The parameter index was not correctly calculated.


Modified:
    branches/relax_disp/target_functions/relax_disp.py

Modified: branches/relax_disp/target_functions/relax_disp.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/relax_disp/target_functions/relax_disp.py?rev=19371&r1=19370&r2=19371&view=diff
==============================================================================
--- branches/relax_disp/target_functions/relax_disp.py (original)
+++ branches/relax_disp/target_functions/relax_disp.py Thu Apr  4 17:47:21 
2013
@@ -121,7 +121,7 @@
             # Loop over the exponential curves.
             for exp_index in range(self.num_exp_curves):
                 # Unpack the exponential curve parameters.
-                index = spin_index * 2 * self.num_exp_curves
+                index = spin_index * 2 * self.num_exp_curves + exp_index * 
self.num_exp_curves
                 r2eff = params[index]
                 i0 = params[index + 1]
 




Related Messages


Powered by MHonArc, Updated Thu Apr 04 22:20:02 2013