mailr15299 - /branches/frame_order_testing/maths_fns/frame_order_matrix_ops.py


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

Header


Content

Posted by edward on February 03, 2012 - 12:22:
Author: bugman
Date: Fri Feb  3 12:22:47 2012
New Revision: 15299

URL: http://svn.gna.org/viewcvs/relax?rev=15299&view=rev
Log:
The theta and phi Sobol angles are now correctly unpacked.


Modified:
    branches/frame_order_testing/maths_fns/frame_order_matrix_ops.py

Modified: branches/frame_order_testing/maths_fns/frame_order_matrix_ops.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/frame_order_testing/maths_fns/frame_order_matrix_ops.py?rev=15299&r1=15298&r2=15299&view=diff
==============================================================================
--- branches/frame_order_testing/maths_fns/frame_order_matrix_ops.py 
(original)
+++ branches/frame_order_testing/maths_fns/frame_order_matrix_ops.py Fri Feb  
3 12:22:47 2012
@@ -1303,7 +1303,7 @@
     num = 0
     for i in range(len(points)):
         # Unpack the point.
-        phi, theta, sigma = points[i]
+        theta, phi, sigma = points[i]
 
         # Outside of the distribution, so skip the point.
         if theta > theta_max:
@@ -1408,7 +1408,7 @@
     num = 0
     for i in range(len(points)):
         # Unpack the point.
-        phi, theta = points[i]
+        theta, phi = points[i]
 
         # Outside of the distribution, so skip the point.
         if theta > theta_max:
@@ -1524,7 +1524,7 @@
     num = 0
     for i in range(len(points)):
         # Unpack the point.
-        phi, theta, sigma = points[i]
+        theta, phi, sigma = points[i]
 
         # Calculate theta_max.
         theta_max = tmax_pseudo_ellipse(phi, theta_x, theta_y)
@@ -1641,7 +1641,7 @@
     num = 0
     for i in range(len(points)):
         # Unpack the point.
-        phi, theta = points[i]
+        theta, phi = points[i]
 
         # Calculate theta_max.
         theta_max = tmax_pseudo_ellipse(phi_i, theta_x, theta_y)




Related Messages


Powered by MHonArc, Updated Fri Feb 03 13:40:01 2012