Menu

SVN archive Commit Log


Commit Date  
[r23844] by tlinnet

Replaced the multiplcation with the disp structure, to a replacement with a mask.

My timings are varying at my computer, so results are within the very same timing.

But for reading the code, having two masks, is essential better.

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

2014-06-11 14:43:17 Tree
[r23843] by tlinnet

Moved the mask which finds where to replace values into the __init__ function.

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

2014-06-11 14:19:12 Tree
[r23842] by tlinnet

Removed an the creation of a unnessary structure bu using numpy multiply.

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

2014-06-11 14:19:10 Tree
[r23841] by tlinnet

Changes too unit tests, so data is sent to target function in numpy array format.

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

2014-06-11 13:25:36 Tree
[r23840] by tlinnet

Made the lib function into a pure numpy array calculation.

This requires, that r20a, r20b and dw has same dimension as the dispersion points.

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

2014-06-11 13:25:34 Tree
[r23839] by tlinnet

Replaced the temporary variable R2eff with back_calc, and used numpy subtract to speed up.

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

2014-06-11 13:25:32 Tree
[r23838] by tlinnet

Removed the slow allclose() function to test if R20A and R20B is equal.

It is MUCH faster to just subtract and check sum is not 0.0.

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

2014-06-11 13:09:01 Tree
[r23837] by tlinnet

Removed the masked replacement if fact is less than 1.0.

This is very strange, but otherwise system test:
Relax_disp.test_hansen_cpmg_data_missing_auto_analysis

would fail.

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

2014-06-11 12:55:34 Tree
[r23836] by tlinnet

Clean up of comment lines.

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

2014-06-11 12:55:32 Tree
[r23835] by tlinnet

Replaced isnan mask with function that catches all invalid values.

2014-06-11 12:55:31 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.