Commit | Date | |
---|---|---|
[r23735]
by
tlinnet
Important fix for the creation of the multi dimensional pA numpy array. It should be created as numpy.zeros([ei][si][mi][oi]) instead of numpy.ones([ei][si][mi][oi]). This allows for rapid testing of all dimensions with np.allclose(pA, numpy.ones(dw.shape)). Task #7807 (https://gna.org/task/index.php?7807): Speed-up of dispersion models for Clustered analysis. |
2014-06-08 17:48:31 | Tree |
[r23734]
by
tlinnet
Made it easier to switch between single and cluster reporting in profiling script. Task #7807 (https://gna.org/task/index.php?7807): Speed-up of dispersion models for Clustered analysis. |
2014-06-08 17:48:29 | Tree |
[r23733]
by
tlinnet
Important fix for extracting the correct shape to create new arrays. If using just one field, or having the same number of dispersion points, the shape would extend to the dispersion number. Shape always has to be reported as: [ei][si][mi][oi]. Task #7807 (https://gna.org/task/index.php?7807): Speed-up of dispersion models for Clustered analysis. |
2014-06-08 17:48:27 | Tree |
[r23732]
by
tlinnet
Re-inserted safety checks in lin/dispersion/cr72.py file. This is re-inserted for the rank_1 cases. This makes the unit-tests pass again. Task #7807 (https://gna.org/task/index.php?7807): Speed-up of dispersion models for Clustered analysis. |
2014-06-08 17:48:25 | Tree |
[r23731]
by
tlinnet
Fix for calculation of the larmor frequency per spin in profiling script. The frq loop should also be up-shifted. Task #7807 (https://gna.org/task/index.php?7807): Speed-up of dispersion models for Clustered analysis. |
2014-06-08 17:48:23 | Tree |
[r23730]
by
tlinnet
In profiling script, moved up the calculation of values one level. This is to better see the output of the profiling iterations for cr72.py. Task #7807 (https://gna.org/task/index.php?7807): Speed-up of dispersion models for Clustered analysis. |
2014-06-08 11:14:38 | Tree |
[r23729]
by
tlinnet
Removing looping over exp and offset indicies in calc_chi2. They are always 0 anyway. This brings a little speed. Task #7807 (https://gna.org/task/index.php?7807): Speed-up of dispersion models for Clustered analysis. ---- 1000 iterations TRUNK BEFORE AFTER removing looping over exp and offset indicies. They are always 0. |
2014-06-08 11:14:36 | Tree |
[r23728]
by
tlinnet
Modified profiling script to calculate correct values when setting up R2eff values. This is to test, that the return of chi2 gets zero. Task #7807 (https://gna.org/task/index.php?7807): Speed-up of dispersion models for Clustered analysis. |
2014-06-08 11:14:34 | Tree |
[r23727]
by
tlinnet
Moved the creation of special numpy structures outside target function. Task #7807 (https://gna.org/task/index.php?7807): Speed-up of dispersion models for Clustered analysis. |
2014-06-07 21:18:18 | Tree |
[r23726]
by
tlinnet
Added print out of chi2 to profile script. Task #7807 (https://gna.org/task/index.php?7807): Speed-up of dispersion models for Clustered analysis. |
2014-06-07 21:18:15 | Tree |