mailr19368 - /branches/relax_disp/lib/curve_fit/exponential.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:17:
Author: bugman
Date: Thu Apr  4 17:17:10 2013
New Revision: 19368

URL: http://svn.gna.org/viewcvs/relax?rev=19368&view=rev
Log:
Typo fix for the new lib.curve_fit.exponential.exponential_2param_neg() 
function.


Modified:
    branches/relax_disp/lib/curve_fit/exponential.py

Modified: branches/relax_disp/lib/curve_fit/exponential.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/relax_disp/lib/curve_fit/exponential.py?rev=19368&r1=19367&r2=19368&view=diff
==============================================================================
--- branches/relax_disp/lib/curve_fit/exponential.py (original)
+++ branches/relax_disp/lib/curve_fit/exponential.py Thu Apr  4 17:17:10 2013
@@ -44,4 +44,4 @@
 
     # Loop over the x-values.
     for i in range(len(x)):
-        y[i] = i0 * exp(-rate*y)
+        y[i] = i0 * exp(-rate*x[i])




Related Messages


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