mailr23459 - /branches/disp_speed/lib/dispersion/mp05.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by tlinnet on May 27, 2014 - 12:26:
Author: tlinnet
Date: Tue May 27 12:26:25 2014
New Revision: 23459

URL: http://svn.gna.org/viewcvs/relax?rev=23459&view=rev
Log:
Critical fix for the math domain catching of model MP05.

The cathing of errors for off-resonance R1rho models was implemented wrong.

This was pointed out in the post 
http://article.gmane.org/gmane.science.nmr.relax.devel/5938.

Modified:
    branches/disp_speed/lib/dispersion/mp05.py

Modified: branches/disp_speed/lib/dispersion/mp05.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/disp_speed/lib/dispersion/mp05.py?rev=23459&r1=23458&r2=23459&view=diff
==============================================================================
--- branches/disp_speed/lib/dispersion/mp05.py  (original)
+++ branches/disp_speed/lib/dispersion/mp05.py  Tue May 27 12:26:25 2014
@@ -122,7 +122,7 @@
     # Catch zeros (to avoid pointless mathematical operations).
     # This will result in no exchange, returning flat lines.
     if numer == 0.0:
-        return array([r1rho_prime]*num_points)
+        return R1_cos_theta2 + R1rho_prime_sin_theta2
 
     # Denominator.
     waeff2_wbeff2 = waeff2*wbeff2




Related Messages


Powered by MHonArc, Updated Tue May 27 12:40:02 2014