mailr24725 - /trunk/specific_analyses/frame_order/parameter_object.py


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

Header


Content

Posted by edward on July 24, 2014 - 18:08:
Author: bugman
Date: Thu Jul 24 18:08:37 2014
New Revision: 24725

URL: http://svn.gna.org/viewcvs/relax?rev=24725&view=rev
Log:
More even spacing for the frame order grid search.

This is for the parameters which exclude end points in the grid search, as 
these excluded points do
not decrease the number of increments searched over.


Modified:
    trunk/specific_analyses/frame_order/parameter_object.py

Modified: trunk/specific_analyses/frame_order/parameter_object.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/specific_analyses/frame_order/parameter_object.py?rev=24725&r1=24724&r2=24725&view=diff
==============================================================================
--- trunk/specific_analyses/frame_order/parameter_object.py     (original)
+++ trunk/specific_analyses/frame_order/parameter_object.py     Thu Jul 24 
18:08:37 2014
@@ -46,7 +46,7 @@
         return 2.0 * pi
 
     # Return the upper limit which is one inc before 2pi.
-    return 2.0*pi * (1.0 - 1.0/incs)
+    return 2.0*pi * (1.0 - 1.0/(incs+1))
 
 
 def axis_alpha_upper(incs=None, model_info=None):
@@ -65,7 +65,7 @@
         return pi
 
     # Return the upper limit which is one inc before pi.
-    return pi * (1.0 - 1.0/incs)
+    return pi * (1.0 - 1.0/(incs+1))
 
 
 def cone_angle_lower(incs=None, model_info=None):
@@ -84,7 +84,7 @@
         return 0.0
 
     # Return the lower limit, excluding the first point.
-    return pi * (1.0/incs)
+    return pi * (1.0/(incs+2))
 
 
 def cone_angle_upper(incs=None, model_info=None):
@@ -103,7 +103,7 @@
         return pi
 
     # Return the upper limit, excluding the last point.
-    return pi * (1.0 - 1.0/incs)
+    return pi * (1.0 - 1.0/(incs+2))
 
 
 def pivot_grid_bound(param=None, extent=10.0):




Related Messages


Powered by MHonArc, Updated Thu Jul 24 18:20:02 2014