Author: bugman Date: Thu Jun 6 19:22:23 2013 New Revision: 19905 URL: http://svn.gna.org/viewcvs/relax?rev=19905&view=rev Log: Fix for the M61 model target function. The spin-lock fields need to be used, not the CPMG frequencies. 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=19905&r1=19904&r2=19905&view=diff ============================================================================== --- branches/relax_disp/target_functions/relax_disp.py (original) +++ branches/relax_disp/target_functions/relax_disp.py Thu Jun 6 19:22:23 2013 @@ -240,7 +240,7 @@ phi_ex_scaled = phi_ex * self.frqs[spin_index, frq_index]**2 # Back calculate the R2eff values. - r2eff_M61(r1rho_prime=R20[frq_index], phi_ex=phi_ex_scaled, kex=kex, spin_lock_fields=self.cpmg_frqs, back_calc=self.back_calc[spin_index, frq_index], num_points=self.num_disp_points) + r2eff_M61(r1rho_prime=R20[frq_index], phi_ex=phi_ex_scaled, kex=kex, spin_lock_fields=self.spin_lock_nu1, 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):