mailr25996 - /branches/frame_order_cleanup/specific_analyses/frame_order/api.py


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

Header


Content

Posted by edward on September 24, 2014 - 10:26:
Author: bugman
Date: Wed Sep 24 10:26:09 2014
New Revision: 25996

URL: http://svn.gna.org/viewcvs/relax?rev=25996&view=rev
Log:
Fix for r25994 - the cdp.quad_int flag was not passed into the target 
function properly.


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=25996&r1=25995&r2=25996&view=diff
==============================================================================
--- branches/frame_order_cleanup/specific_analyses/frame_order/api.py   
(original)
+++ branches/frame_order_cleanup/specific_analyses/frame_order/api.py   Wed 
Sep 24 10:26:09 2014
@@ -138,7 +138,7 @@
             sobol_oversample = cdp.sobol_oversample
 
         # Set up the optimisation target function class.
-        target_fn = frame_order.Frame_order(model=cdp.model, 
init_params=param_vector, full_tensors=full_tensors, 
full_in_ref_frame=full_in_ref_frame, rdcs=rdcs, rdc_errors=rdc_err, 
rdc_weights=rdc_weight, rdc_vect=rdc_vect, dip_const=rdc_const, pcs=pcs, 
pcs_errors=pcs_err, pcs_weights=pcs_weight, atomic_pos=atomic_pos, temp=temp, 
frq=frq, paramag_centre=paramag_centre, scaling_matrix=scaling_matrix[0], 
com=com, ave_pos_pivot=ave_pos_pivot, pivot=pivot, pivot_opt=pivot_opt, 
sobol_max_points=sobol_max_points, sobol_oversample=sobol_oversample, 
cdp.quad_int)
+        target_fn = frame_order.Frame_order(model=cdp.model, 
init_params=param_vector, full_tensors=full_tensors, 
full_in_ref_frame=full_in_ref_frame, rdcs=rdcs, rdc_errors=rdc_err, 
rdc_weights=rdc_weight, rdc_vect=rdc_vect, dip_const=rdc_const, pcs=pcs, 
pcs_errors=pcs_err, pcs_weights=pcs_weight, atomic_pos=atomic_pos, temp=temp, 
frq=frq, paramag_centre=paramag_centre, scaling_matrix=scaling_matrix[0], 
com=com, ave_pos_pivot=ave_pos_pivot, pivot=pivot, pivot_opt=pivot_opt, 
sobol_max_points=sobol_max_points, sobol_oversample=sobol_oversample, 
quad_int=cdp.quad_int)
 
         # Make a single function call.  This will cause back calculation and 
the data will be stored in the class instance.
         chi2 = target_fn.func(param_vector)




Related Messages


Powered by MHonArc, Updated Wed Sep 24 10:40:02 2014