Author: tlinnet Date: Mon May 5 10:18:37 2014 New Revision: 22955 URL: http://svn.gna.org/viewcvs/relax?rev=22955&view=rev Log: Reverted r22937 as this was not a necessary implementation. The command used was: svn merge -r22937:r22936 . ..... Fix for only multiplying with an even number of the minimum CPMG frequency. bug #22008: (https://gna.org/bugs/index.php?22008) Interpolation with relax.plot_disp_curves, creates un-even number of CPMG blocks. This makes sure that only an even power of NCYC blocks are created. Modified: trunk/specific_analyses/relax_disp/data.py ..... Modified: trunk/specific_analyses/relax_disp/data.py Modified: trunk/specific_analyses/relax_disp/data.py URL: http://svn.gna.org/viewcvs/relax/trunk/specific_analyses/relax_disp/data.py?rev=22955&r1=22954&r2=22955&view=diff ============================================================================== --- trunk/specific_analyses/relax_disp/data.py (original) +++ trunk/specific_analyses/relax_disp/data.py Mon May 5 10:18:37 2014 @@ -1632,8 +1632,8 @@ num_points = int(round(max_frq / min_frq)) # Interpolate (adding the extended amount to the end). - for di in range(2, num_points+2, 2): - point = di * min_frq + for di in range(num_points): + point = (di + 1) * min_frq cpmg_frqs_new[ei][mi][oi].append(point) # Convert to a numpy array.