Author: bugman Date: Sat Nov 1 17:01:58 2014 New Revision: 26401 URL: http://svn.gna.org/viewcvs/relax?rev=26401&view=rev Log: Removed some unused code in the pseudo-ellipse 2nd degree frame order matrix function. This is the compile_2nd_matrix_pseudo_ellipse() function in the lib.frame_order.pseudo_ellipse module. The change should make the RDC part of the frame order analysis for the pseudo-ellipse model slightly faster. Modified: branches/frame_order_cleanup/lib/frame_order/pseudo_ellipse.py Modified: branches/frame_order_cleanup/lib/frame_order/pseudo_ellipse.py URL: http://svn.gna.org/viewcvs/relax/branches/frame_order_cleanup/lib/frame_order/pseudo_ellipse.py?rev=26401&r1=26400&r2=26401&view=diff ============================================================================== --- branches/frame_order_cleanup/lib/frame_order/pseudo_ellipse.py (original) +++ branches/frame_order_cleanup/lib/frame_order/pseudo_ellipse.py Sat Nov 1 17:01:58 2014 @@ -99,12 +99,6 @@ fact = 1e100 else: fact = 1.0 / fact - - # Sigma_max part. - if sigma_max == 0.0: - fact2 = 1e100 - else: - fact2 = fact / (2.0 * sigma_max) # Diagonal. matrix[0, 0] = fact * (4.0*pi*(sinc(2.0*sigma_max/pi) + 2.0) + quad(part_int_daeg2_pseudo_ellipse_00, -pi, pi, args=(theta_x, theta_y, sigma_max), full_output=1)[0])