mailr21901 - /trunk/lib/dispersion/ns_r1rho_3site.py


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

Header


Content

Posted by edward on December 09, 2013 - 13:41:
Author: bugman
Date: Mon Dec  9 13:41:09 2013
New Revision: 21901

URL: http://svn.gna.org/viewcvs/relax?rev=21901&view=rev
Log:
Bug fix for the new 'NS R1rho 3-site' dispersion models - the Y and Z initial 
magnetisations were switched.

This is for the 'NS R1rho 3-site' and 'NS R1rho 3-site linear' dispersion 
models.

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/ns_r1rho_3site.py

Modified: trunk/lib/dispersion/ns_r1rho_3site.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/lib/dispersion/ns_r1rho_3site.py?rev=21901&r1=21900&r2=21901&view=diff
==============================================================================
--- trunk/lib/dispersion/ns_r1rho_3site.py (original)
+++ trunk/lib/dispersion/ns_r1rho_3site.py Mon Dec  9 13:41:09 2013
@@ -113,8 +113,8 @@
 
         # The following lines rotate the magnetization previous to spin-lock 
into the weff frame.
         theta = atan(spin_lock_fields[i]/d)
-        M0[0] = sin(theta)
-        M0[1] = cos(theta)
+        M0[0] = sin(theta)    # The A state initial X magnetisation.
+        M0[2] = cos(theta)    # The A state initial Z magnetisation.
 
         # This matrix is a propagator that will evolve the magnetization 
with the matrix R.
         Rexpo = matrix_exponential(matrix*relax_time)




Related Messages


Powered by MHonArc, Updated Mon Dec 09 14:00:01 2013