Hi Ed. The problem with this, is the mixing of dw and dwH.
I havent figured out how do this efficient. I wasted 6 hours for a first try to convert it, so this has to be step by step. You have still won the looping over spins and frequency. So it should be faster. Best Troels 2014-06-17 10:04 GMT+02:00 Edward d'Auvergne <[email protected]>: > 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, <[email protected]> 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 > > [email protected] > > > > 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 > > _______________________________________________ > relax (http://www.nmr-relax.com) > > This is the relax-devel mailing list > [email protected] > > 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-devel > _______________________________________________ relax (http://www.nmr-relax.com) This is the relax-devel mailing list [email protected] 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-devel

