mailr17763 - /branches/tensor_data/generic_fns/diffusion_tensor.py


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

Header


Content

Posted by edward on October 08, 2012 - 19:20:
Author: bugman
Date: Mon Oct  8 19:20:38 2012
New Revision: 17763

URL: http://svn.gna.org/viewcvs/relax?rev=17763&view=rev
Log:
Another fix for the diffusion_tensor.init user function - it was not 
completely converted.


Modified:
    branches/tensor_data/generic_fns/diffusion_tensor.py

Modified: branches/tensor_data/generic_fns/diffusion_tensor.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/tensor_data/generic_fns/diffusion_tensor.py?rev=17763&r1=17762&r2=17763&view=diff
==============================================================================
--- branches/tensor_data/generic_fns/diffusion_tensor.py (original)
+++ branches/tensor_data/generic_fns/diffusion_tensor.py Mon Oct  8 19:20:38 
2012
@@ -696,8 +696,8 @@
             # Fold phi inside 0 and pi.
             if cdp.diff_tensor.phi >= pi:
                 theta, phi = fold_spherical_angles(cdp.diff_tensor.theta, 
cdp.diff_tensor.phi)
-                cdp.diff_tensor.theta = theta
-                cdp.diff_tensor.phi = phi
+                cdp.diff_tensor.set(param='theta', value=theta)
+                cdp.diff_tensor.set(param='phi', value=phi)
 
         # Simulated theta and phi values.
         else:




Related Messages


Powered by MHonArc, Updated Mon Oct 08 19:40:01 2012