Author: bugman Date: Sun Jun 9 17:23:25 2013 New Revision: 19994 URL: http://svn.gna.org/viewcvs/relax?rev=19994&view=rev Log: Fixes for the func_M61b() dispersion target function. This is the Meiboom 1961 on-resonance 2-site model for skewed populations (pA
pB).
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=19994&r1=19993&r2=19994&view=diff ============================================================================== --- branches/relax_disp/target_functions/relax_disp.py (original) +++ branches/relax_disp/target_functions/relax_disp.py Sun Jun 9 17:23:25 2013 @@ -270,7 +270,7 @@ def func_M61b(self, params): - """Target function for the Meiboom (1961) fast 2-site exchange model for R1rho-type experiments. + """Target function for the Meiboom (1961) R1rho on-resonance 2-site model for skewed populations (pA >> pB). @param params: The vector of parameter values. @type params: numpy rank-1 float array @@ -286,7 +286,7 @@ R20 = params[:self.end_index[0]] dw = params[self.end_index[0]:self.end_index[1]] pA = params[self.end_index[1]] - kex = params[self.end_index[1]] + kex = params[self.end_index[1]+1] # Initialise. chi2_sum = 0.0