mailr19666 - /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 May 06, 2013 - 12:29:
Author: bugman
Date: Mon May  6 12:29:17 2013
New Revision: 19666

URL: http://svn.gna.org/viewcvs/relax?rev=19666&view=rev
Log:
Fixes for the func_LM63() dispersion target function.


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=19666&r1=19665&r2=19666&view=diff
==============================================================================
--- branches/relax_disp/target_functions/relax_disp.py (original)
+++ branches/relax_disp/target_functions/relax_disp.py Mon May  6 12:29:17 
2013
@@ -120,7 +120,7 @@
                 r2eff_LM63(r20=params[0], phi_ex=params[1], kex=params[2], 
cpmg_frqs=self.cpmg_frqs, back_calc=self.back_calc[spin_index, frq_index], 
num_points=self.num_disp_points)
 
                 # Calculate and return the chi-squared value.
-                chi2_sum += chi2(values[spin_index, frq_index], 
back_calc[spin_index, frq_index], sd[spin_index, frq_index])
+                chi2_sum += chi2(self.values[spin_index, frq_index], 
self.back_calc[spin_index, frq_index], self.errors[spin_index, frq_index])
 
         # Return the total chi-squared value.
         return chi2_sum




Related Messages


Powered by MHonArc, Updated Mon May 06 16:20:01 2013