mailr24625 - /branches/disp_spin_speed/lib/dispersion/m61.py


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

Header


Content

Posted by tlinnet on July 22, 2014 - 16:51:
Author: tlinnet
Date: Tue Jul 22 16:51:37 2014
New Revision: 24625

URL: http://svn.gna.org/viewcvs/relax?rev=24625&view=rev
Log:
Code validation of lib/dispersion/m61.py.

Task #7807 (https://gna.org/task/index.php?7807): Speed-up of dispersion 
models for Clustered analysis.

Modified:
    branches/disp_spin_speed/lib/dispersion/m61.py

Modified: branches/disp_spin_speed/lib/dispersion/m61.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/disp_spin_speed/lib/dispersion/m61.py?rev=24625&r1=24624&r2=24625&view=diff
==============================================================================
--- branches/disp_spin_speed/lib/dispersion/m61.py      (original)
+++ branches/disp_spin_speed/lib/dispersion/m61.py      Tue Jul 22 16:51:37 
2014
@@ -68,6 +68,7 @@
 from numpy import any, isfinite, min, sum
 from numpy.ma import fix_invalid, masked_where
 
+
 def r1rho_M61(r1rho_prime=None, phi_ex=None, kex=None, 
spin_lock_fields2=None, back_calc=None):
     """Calculate the R2eff values for the M61 model.
 
@@ -106,7 +107,7 @@
     denom = kex2 + spin_lock_fields2
 
     # Catch math domain error of dividing with 0.
-    # This is when denom=0.
+    # This is when denom = 0.
     mask_denom_zero = denom == 0.0
     if any(mask_denom_zero):
         t_denom_zero = True




Related Messages


Powered by MHonArc, Updated Tue Jul 22 17:00:02 2014