Author: bugman Date: Tue May 28 09:36:32 2013 New Revision: 19748 URL: http://svn.gna.org/viewcvs/relax?rev=19748&view=rev Log: Fix for the LM63 dispersion model target function - the scaled Phi_ex value is now used for the R2. 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=19748&r1=19747&r2=19748&view=diff ============================================================================== --- branches/relax_disp/target_functions/relax_disp.py (original) +++ branches/relax_disp/target_functions/relax_disp.py Tue May 28 09:36:32 2013 @@ -138,7 +138,7 @@ phi_ex_scaled = phi_ex * self.frqs[frq_index]**2 # Back calculate the R2eff values. - r2eff_LM63(r20=R20[frq_index], phi_ex=phi_ex, kex=kex, cpmg_frqs=self.cpmg_frqs, back_calc=self.back_calc[spin_index, frq_index], num_points=self.num_disp_points) + r2eff_LM63(r20=R20[frq_index], phi_ex=phi_ex_scaled, kex=kex, cpmg_frqs=self.cpmg_frqs, back_calc=self.back_calc[spin_index, frq_index], num_points=self.num_disp_points) # For all missing data points, set the back-calculated value to the measured values so that it has no effect on the chi-squared value. for point_index in range(self.num_disp_points):