mailr23047 - /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:48 2014
New Revision: 23047

URL: http://svn.gna.org/viewcvs/relax?rev=23047&view=rev
Log:
Fix for ordering in calculation, to make it look prettier.

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=23047&r1=23046&r2=23047&view=diff
==============================================================================
--- trunk/lib/dispersion/b14.py (original)
+++ trunk/lib/dispersion/b14.py Wed May  7 15:54:48 2014
@@ -224,7 +224,7 @@
     # Off diagonal common factor. sinh fuctions.
     v2pPdN = (-deltaR2 + kex + dw*1j) * v1s - 2. * (oGt2 + k_AB * t1pt2) * 
ex1c
 
-    Tog = (1. + y) / 2. + (1. - y) / (2. * v3) * v2pPdN / N
+    Tog = 0.5 * (1. + y) + (1. - y) * v2pPdN / (2. * v3 * N )
 
     # Estimate R2eff. relax_time = Trel = 1/inv_tcpmg.
     Minty = Rpre - ncyc * inv_tcpmg * arccosh(v1c.real) - inv_tcpmg * 
log(Tog.real)




Related Messages


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