Menu

SVN archive Commit Log


Commit Date  
[r23880] by tlinnet

Large increase in speed for model TSMFK01 by changing target functions to use multidimensional numpy arrays in calculation.

This is done by restructuring data into multidimensional arrays of dimension [NE][NS][NM][NO][ND], which are
number of spins, number of magnetic field strength, number of offsets, maximum number of dispersion point.

The speed comes from using numpy ufunc operations.

The new version is 2.4X as fast per spin calculation, and 54X as fast for clustered analysis.

The different in timings for 3 spectrometer frequencies, calculated for 1 spin or 100 clustered spins with 1000 iterations are:

----
VERSION 3.2.2
----
1 spin:
ncalls tottime percall cumtime percall filename:lineno(function)
1 0.000 0.000 0.262 0.262 <string>:1(<module>)
100 spin:
ncalls tottime percall cumtime percall filename:lineno(function)
1 0.000 0.000 25.391 25.391 <string>:1(<module>)
----
New version
---

1 spin:
ncalls tottime percall cumtime percall filename:lineno(function)
1 0.000 0.000 0.111 0.111 <string>:1(<module>)
100 spin:
ncalls tottime percall cumtime percall filename:lineno(function)
1 0.000 0.000 0.468 0.468 <string>:1(<module>)

Task #7807 (https://gna.org/task/index.php?7807): Speed-up of dispersion models for Clustered analysis.

2014-06-12 11:56:12 Tree
[r23879] by bugman

Fix for the Frame_order.test_rigid_data_to_free_rotor_model system test.

As the free rotor has undergone a reparameterisation, the chi-squared value is now higher. The
value is reasonable as the free rotor can never model the rigid system.

2014-06-12 11:55:35 Tree
[r23878] by bugman

Fix for the PDB representation generated by frame_order.pdb_model for the free rotor pseudo-ellipse.

2014-06-12 11:52:26 Tree
[r23877] by tlinnet

Made unit tests for model TSMFK01 send in R20A and dw as a numpy array.

Task #7807 (https://gna.org/task/index.php?7807): Speed-up of dispersion models for Clustered analysis.

2014-06-12 11:19:04 Tree
[r23876] by tlinnet

Modified lib function for model TSMFK01 to accept dw_orig as input and replaced functions to find math domain errors into maske replacements.

Task #7807 (https://gna.org/task/index.php?7807): Speed-up of dispersion models for Clustered analysis.

2014-06-12 11:19:02 Tree
[r23875] by tlinnet

Modified target function for model TSMFK01, to send in dw as original parameter.

Task #7807 (https://gna.org/task/index.php?7807): Speed-up of dispersion models for Clustered analysis.

2014-06-12 11:19:00 Tree
[r23874] by tlinnet

Modified profiling script to be used for model TSMFK01.

Task #7807 (https://gna.org/task/index.php?7807): Speed-up of dispersion models for Clustered analysis.

2014-06-12 11:18:58 Tree
[r23873] by tlinnet

Indention fix in cr72.py and b14.py.

Task #7807 (https://gna.org/task/index.php?7807): Speed-up of dispersion models for Clustered analysis.

2014-06-12 11:18:56 Tree
[r23872] by tlinnet

Copied profiling script for CR72 model to TSMFK01 model.

Task #7807 (https://gna.org/task/index.php?7807): Speed-up of dispersion models for Clustered analysis.

2014-06-12 10:31:42 Tree
[r23871] by tlinnet

Changed profiling script to send dw as original parameters to the lib function B14.

Task #7807 (https://gna.org/task/index.php?7807): Speed-up of dispersion models for Clustered analysis.

2014-06-12 10:23:23 Tree
Older >
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.