mailr25835 - /branches/frame_order_cleanup/specific_analyses/frame_order/optimisation.py


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

Header


Content

Posted by edward on September 14, 2014 - 15:13:
Author: bugman
Date: Sun Sep 14 15:13:46 2014
New Revision: 25835

URL: http://svn.gna.org/viewcvs/relax?rev=25835&view=rev
Log:
Fix for the frame_order.count_sobol_points user function for the rotor model.

The sigma angles unpacking required a dimensionality collapse in the Sobol' 
angle data structure.


Modified:
    branches/frame_order_cleanup/specific_analyses/frame_order/optimisation.py

Modified: 
branches/frame_order_cleanup/specific_analyses/frame_order/optimisation.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/frame_order_cleanup/specific_analyses/frame_order/optimisation.py?rev=25835&r1=25834&r2=25835&view=diff
==============================================================================
--- 
branches/frame_order_cleanup/specific_analyses/frame_order/optimisation.py  
(original)
+++ 
branches/frame_order_cleanup/specific_analyses/frame_order/optimisation.py  
Sun Sep 14 15:13:46 2014
@@ -97,7 +97,7 @@
     elif dims == ['theta', 'phi']:
         theta, phi = swapaxes(target_fn.sobol_angles, 0, 1)
     elif dims == ['sigma']:
-        sigma = swapaxes(target_fn.sobol_angles, 0, 1)
+        sigma = swapaxes(target_fn.sobol_angles, 0, 1)[0]
     elif dims == ['sigma', 'sigma2']:
         sigma, sigma2 = swapaxes(target_fn.sobol_angles, 0, 1)
 




Related Messages


Powered by MHonArc, Updated Sun Sep 14 15:20:02 2014