Author: bugman Date: Mon Jul 7 16:28:29 2014 New Revision: 24473 URL: http://svn.gna.org/viewcvs/relax?rev=24473&view=rev Log: Added support for the 'pivot_disp' frame order parameter to the grid search. This is required for the double rotor model. Modified: branches/frame_order_cleanup/specific_analyses/frame_order/api.py Modified: branches/frame_order_cleanup/specific_analyses/frame_order/api.py URL: http://svn.gna.org/viewcvs/relax/branches/frame_order_cleanup/specific_analyses/frame_order/api.py?rev=24473&r1=24472&r2=24473&view=diff ============================================================================== --- branches/frame_order_cleanup/specific_analyses/frame_order/api.py (original) +++ branches/frame_order_cleanup/specific_analyses/frame_order/api.py Mon Jul 7 16:28:29 2014 @@ -388,6 +388,12 @@ val = getattr(cdp, cdp.params[i]) lower = val - 10.0 upper = val + 10.0 + + # The pivot displacement. + if cdp.params[i] == 'pivot_disp': + val = getattr(cdp, cdp.params[i]) + lower = 0.0 + upper = 50.0 # Average domain position translation (in a +/- 5 Angstrom box). if cdp.params[i] in ['ave_pos_x', 'ave_pos_y', 'ave_pos_z']: