Commit | Date | |
---|---|---|
[r24165]
by
tlinnet
Added the ns matrice, rr1rho_3d_rankN, to collect the multi dimensional 3D exchange matrix, of rank [NE][NS][NM][NO][ND][6][6]. Task #7807 (https://gna.org/task/index.php?7807): Speed-up of dispersion models for Clustered analysis. |
2014-06-19 18:17:47 | Tree |
[r24164]
by
tlinnet
Changed back from einsum to dot method, since dot method it faster for square matrixes. Task #7807 (https://gna.org/task/index.php?7807): Speed-up of dispersion models for Clustered analysis. |
2014-06-19 15:42:28 | Tree |
[r24163]
by
tlinnet
Replaced the inner dot product with numpy einsum. This though slows it down from 8.5 s to 13 s. Task #7807 (https://gna.org/task/index.php?7807): Speed-up of dispersion models for Clustered analysis. |
2014-06-19 15:42:25 | Tree |
[r24162]
by
tlinnet
Removed unused variables in NS CPMG 2site 3D, to clean up the code. Task #7807 (https://gna.org/task/index.php?7807): Speed-up of dispersion models for Clustered analysis. |
2014-06-19 15:42:23 | Tree |
[r24161]
by
tlinnet
Implemeted systemtest: test_cpmg_synthetic_b14_to_ns3d_cluster This is to cathc failures of the model, when data is clusted. Task #7807 (https://gna.org/task/index.php?7807): Speed-up of dispersion models for Clustered analysis. |
2014-06-19 15:42:20 | Tree |
[r24160]
by
tlinnet
Moved the calculation the evolution matrix out of for loops. The trick is that numpy.einsum allows for dot product of higher dimension: - The the essential evolution matrix. Task #7807 (https://gna.org/task/index.php?7807): Speed-up of dispersion models for Clustered analysis. |
2014-06-19 15:42:16 | Tree |
[r24159]
by
tlinnet
Made notation consistent for variables, using "_i" to clarify extracted data from matrix. Task #7807 (https://gna.org/task/index.php?7807): Speed-up of dispersion models for Clustered analysis. |
2014-06-19 15:42:14 | Tree |
[r24158]
by
tlinnet
Implemented double speed of model NS CPMG 2site 3D: This is done by moving the costly calculation of the matrix exponential out of the for loops. Example: The profiling script shows a 2X speed up. ----BEFORE: -----AFTER: Task #7807 (https://gna.org/task/index.php?7807): Speed-up of dispersion models for Clustered analysis. |
2014-06-19 15:42:05 | Tree |
[r24157]
by
tlinnet
Inserted intermediate step, to check if the matrix propagator to evolve the magnetization is equal A short example is shown at the wiki: Task #7807 (https://gna.org/task/index.php?7807): Speed-up of dispersion models for Clustered analysis. |
2014-06-19 15:42:02 | Tree |
[r24156]
by
tlinnet
Added function to compute the matrix exponential for higher dimensional data of shape [NE][NS][NM][NO][ND][7][7]. This is done by using numpy.einsum, to make the dot product of the last two axis. Task #7807 (https://gna.org/task/index.php?7807): Speed-up of dispersion models for Clustered analysis. |
2014-06-19 15:41:59 | Tree |