Author: bugman Date: Mon Aug 9 14:10:16 2010 New Revision: 11446 URL: http://svn.gna.org/viewcvs/relax?rev=11446&view=rev Log: populate_2nd_eigenframe_iso_cone_free_rotor() now uses the iso_cone_S_to_theta() function. Modified: 1.3/maths_fns/frame_order_matrix_ops.py Modified: 1.3/maths_fns/frame_order_matrix_ops.py URL: http://svn.gna.org/viewcvs/relax/1.3/maths_fns/frame_order_matrix_ops.py?rev=11446&r1=11445&r2=11446&view=diff ============================================================================== --- 1.3/maths_fns/frame_order_matrix_ops.py (original) +++ 1.3/maths_fns/frame_order_matrix_ops.py Mon Aug 9 14:10:16 2010 @@ -1149,10 +1149,10 @@ matrix[4, 8] = matrix[8, 4] = matrix[0, 8] # Calculate the cone angle. - cos_theta = order_parameters.iso_cone_S_to_cos_theta(s1) + theta = order_parameters.iso_cone_S_to_theta(s1) # The c11.c22 and c12.c21 elements. - matrix[1, 1] = matrix[3, 3] = (cos_theta + 1.0) / 4.0 + matrix[1, 1] = matrix[3, 3] = (cos(theta) + 1.0) / 4.0 matrix[1, 3] = matrix[3, 1] = -matrix[1, 1]