Hi Troels, For this change, you have introduced the chi2_rankN() function, but it is still calculated per experiment. As this model is almost always used with up to 6 different experiments, this will still be slower than what is possible. You should change this to match the other target functions - shift it out of the experiment loop. It can happen at the very end, exactly as in the other target function func_*() methods you have speed up. The cleaning up of the data structure where there are no dispersion points and the missing data handling should also be shifted outside of the experiment loop for speed. The design of your new numpy array structures should handle this, as they all have the experiment index. Regards, Edward On 16 June 2014 19:58, <tlinnet@xxxxxxxxxxxxx> wrote:
Author: tlinnet Date: Mon Jun 16 19:58:17 2014 New Revision: 23996 URL: http://svn.gna.org/viewcvs/relax?rev=23996&view=rev Log: Removed looping over spin and frequencies for model MMD CR72. Task #7807 (https://gna.org/task/index.php?7807): Speed-up of dispersion models for Clustered analysis. Modified: branches/disp_spin_speed/target_functions/relax_disp.py [This mail would be too long, it was shortened to contain the URLs only.] Modified: branches/disp_spin_speed/target_functions/relax_disp.py URL: http://svn.gna.org/viewcvs/relax/branches/disp_spin_speed/target_functions/relax_disp.py?rev=23996&r1=23995&r2=23996&view=diff _______________________________________________ relax (http://www.nmr-relax.com) This is the relax-commits mailing list relax-commits@xxxxxxx To unsubscribe from this list, get a password reminder, or change your subscription options, visit the list information page at https://mail.gna.org/listinfo/relax-commits