mailr21594 - /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 November 22, 2013 - 08:50:
Author: bugman
Date: Fri Nov 22 08:50:06 2013
New Revision: 21594

URL: http://svn.gna.org/viewcvs/relax?rev=21594&view=rev
Log:
Fix for the 'MQ CR72' dispersion model target function.

The correct R20 values are now extracted from the parameter vector.


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=21594&r1=21593&r2=21594&view=diff
==============================================================================
--- branches/relax_disp/target_functions/relax_disp.py (original)
+++ branches/relax_disp/target_functions/relax_disp.py Fri Nov 22 08:50:06 
2013
@@ -1018,7 +1018,7 @@
                 # Loop over the spectrometer frequencies.
                 for frq_index in range(self.num_frq):
                     # The R20 index.
-                    r20_index = frq_index + spin_index*self.num_frq
+                    r20_index = frq_index + exp_index*self.num_frq + 
spin_index*self.num_frq*self.num_exp
 
                     # Convert dw from ppm to rad/s.
                     dw_frq = dw[spin_index] * 
self.frqs[exp_index][spin_index][frq_index]




Related Messages


Powered by MHonArc, Updated Fri Nov 22 11:20:02 2013