Menu

SVN archive Commit Log


Commit Date  
[r23894] by tlinnet

Moved the packing of errors and values out of for loop in the __init__ class of target function.

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

2014-06-12 18:35:04 Tree
[r23893] by tlinnet

Moved the expansion of the R1 structure out of the for loops.

This is to speed-up the __init__ of the class of the target function.

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

2014-06-12 18:08:10 Tree
[r23892] by tlinnet

Fix for forgetting to multiply frqs to power 2.

This was found by inspecting all print out before and after implementation.

New implementation of DPL94 now passes all system and unit tests.

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

2014-06-12 18:08:08 Tree
[r23891] by tlinnet

Trying to move some of the structures into its own part.

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

2014-06-12 18:08:06 Tree
[r23890] by tlinnet

First try to speed up model DPL94.

This has not succeded, since systemtest: Relax_disp.test_dpl94_data_to_dpl94 stiÃll fails.

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

2014-06-12 18:08:03 Tree
[r23889] by tlinnet

Fix for import missing error in lib function dpl94.

Needed to import numpy any() function.

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

2014-06-12 18:08:01 Tree
[r23888] by tlinnet

Replacing math domain checking in model DPL94, with masked array replacement.

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

2014-06-12 18:07:59 Tree
[r23887] by bugman

Speed up and simplifications for the vector calculations used for the PCS numerical integration.

This has a minimal effect on the total speed as the target function calc_vectors() method is not the
major bottleneck - the slowest part is the quasi-random numerical integration. However the changes
may be useful for speeding up the integration later on.

The 3D pivot point, average domain rotation pivot, and paramagnetic centre position arrays are now
converted into rank-2 arrays in __init__() where the first dimension corresponds to the spin. Each
element is a copy of the 3D array.

These are then used for the calculation of the pivot to atom vectors, eliminating the looping over
spins. The numpy add() and subtract() ufuncs are used together with the out argument for speed and
to avoid temporary data structure creation and deletion. The end result is that the calculated
vector structure is transposed, so the first dimension are the spins.

The changes required minor updates to a number of system tests. The target functions themselves had
to be modified so that the pivot is converted to the larger structure when optimised, or aliased.

2014-06-12 17:44:47 Tree
[r23886] by bugman

Simplification and clean up of the RDC and PCS flags in the frame order target functions.

The per-alignment flags have been removed and replaced by a global flag for all data. This
accidentally fixes a bug when only RDCs are present, as the calc_vectors() method was being called
when it should not have been.

2014-06-12 16:47:36 Tree
[r23885] by bugman

Modified the CaM frame order system test base script to test alternative code paths.

This pivot point was fixed in all tests, so the code in the target functions behind the pivot_opt
flag was not being tested. Now for those system tests whereby the calc rather than minimise user
function is called, the pivot is no longer fixed to execute this code.

2014-06-12 14:40:15 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.