mailr23050 - /trunk/lib/dispersion/b14.py


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

Header


Content

Posted by tlinnet on May 07, 2014 - 15:54:
Author: tlinnet
Date: Wed May  7 15:54:53 2014
New Revision: 23050

URL: http://svn.gna.org/viewcvs/relax?rev=23050&view=rev
Log:
Took inv_tcpmg outside parenthesis to follow manual.

sr #3154: (https://gna.org/support/?3154) Implementation of Baldwin (2014) 
B14 model - 2-site exact solution model for all time scales.

This follows the tutorial for adding relaxation dispersion models at:
http://wiki.nmr-relax.com/Tutorial_for_adding_relaxation_dispersion_models_to_relax#Debugging

Modified:
    trunk/lib/dispersion/b14.py

Modified: trunk/lib/dispersion/b14.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/lib/dispersion/b14.py?rev=23050&r1=23049&r2=23050&view=diff
==============================================================================
--- trunk/lib/dispersion/b14.py (original)
+++ trunk/lib/dispersion/b14.py Wed May  7 15:54:53 2014
@@ -227,7 +227,7 @@
     Tog = 0.5 * (1. + y) + (1. - y) * v5 / (2. * v3 * N )
 
     # Estimate R2eff. relax_time = Trel = 1/inv_tcpmg.
-    Minty = Rpre - ncyc * inv_tcpmg * arccosh(v1c.real) - inv_tcpmg * 
log(Tog.real)
+    Minty = Rpre - inv_tcpmg * ( ncyc *  arccosh(v1c.real) + log(Tog.real) )
 
     # Loop over the time points, back calculating the R2eff values.
     for i in range(num_points):




Related Messages


Powered by MHonArc, Updated Wed May 07 16:00:02 2014