Menu

SVN archive Commit Log


Commit Date  
[r23608] by bugman

Another fix for bug #22112 (http://gna.org/bugs/?22112).

This is the GUI failure when setting list values via the sequence windows, launched from user
function windows fails on Mac OS X. This change is for the multiple file selection window and
matches the previous change by replacing the Mac OS X fatal wx.Dialog.Destroy() call with
wx.Dialog.Close().

2014-05-30 08:11:09 Tree
[r23607] by bugman

Fix for bug #22112 (http://gna.org/bugs/?22112).

This is the GUI failure when setting list values via the sequence windows, launched from user
function windows fails on Mac OS X. The problem was two fold. First the Sequence and Sequence_2D
windows from wx.Dialog should not be terminated via the Destroy() method, as wx.Dialog.Destroy()
appears to be horribly broken on Macs. Additionally, the setting of data in the Sequence and
Sequence_2D windows is now performed using the thread-safe wx.CallAfter() method.

2014-05-30 07:55:43 Tree
[r23606] by bugman

The built in Python range() function is no longer being replaced by xrange().

Replacing builtin.range() with builtin.xragne() on Python 2 was causing problems with Python
site-packages which were not Python 3 compliant. This includes old numpy versions.

The original overwriting of range() with xrange() was for both speed and memory conservation.
However profiling the system tests, the time for all tests did not change significantly.

This change may cause problems in certain places in relax on memory constrained computer systems,
so it may need to be reverted in the future.

2014-05-29 18:53:15 Tree
[r23605] by bugman

The frame order analysis now uses the lib.compat.norm() replacement for numpy.linalg.norm().

This is to allow for the axis argument on numpy versions before version 1.8, though these older
versions will result in slower optimisation of the frame order models.

2014-05-29 17:47:23 Tree
[r23604] by bugman

Created the lib.compat.norm() compatibility function for numpy.linalg.norm().

For numpy 1.8 and higher, the numpy.linalg.norm() function has introduced the 'axis' argument. This
is an incredibly fast way of determining the norm of an array of vectors. This is used by the frame
order analysis.

However for older numpy versions, this causes the frame order analysis, and many corresponding
system and GUI tests to fail. Therefore this new lib.compat.norm() function has been designed to
default to numpy.linalg.norm() if the axis argument is supported, or to switch to the much slower
numpy.apply_along_axis(numpy.linalg.norm, axis, x) call which is supported by older numpy.

2014-05-29 17:45:39 Tree
[r23603] by bugman

Fix for an incorrect merger of the 'disp_speed' branch.

2014-05-29 12:34:30 Tree
[r23602] by tlinnet

This branch was never used.

2014-05-29 12:24:21 Tree
[r23601] by bugman

Removed merge tracking for "svnmerge" for
svn+ssh://bugman@.../svn/relax/branches/disp_speed

2014-05-29 12:23:20 Tree
[r23600] by bugman

Removed merge tracking for "svnmerge" for
svn+ssh://bugman@.../svn/relax/branches/disp_speed

2014-05-29 12:22:44 Tree
[r23599] by bugman

Merged revisions 23546,23548-23549,23563-23564,23566-23567,23569,23581-23588 via svnmerge from
svn+ssh://bugman@.../svn/relax/branches/disp_speed

........
r23546 | tlinnet | 2014-05-28 17:55:10 +0200 (Wed, 28 May 2014) | 96 lines

Reverted r23531-23526 as this would prevent a clean merge back into the trunk.

The parameter_object changes should be perfomed in its own branch.
And there was not a clean separation with the unit tests.

The command used was:
svn merge -r23531:23526 .

.....
------------------------------------------------------------------------
r23531 | tlinnet | 2014-05-28 16:49:08 +0200 (Wed, 28 May 2014) | 15 lines

Added 9th and 10th unit test case for model B14.

These tests are setup, to check how the function behaves under conditions of the grid-seach.

Two tests are setup, which either use the default lower or upper bound of the parameters for the grid search.

The return of the values are not checked, but the behaving of the function can be found when adding the --numpy-raise to run relax.

This is related to: task #7793: (https://gna.org/task/?7793) Speed-up of dispersion models.

These tests are implemented to show bug cases related to:
Bug #22032: (bug #22032: Minimisation explodes when using Grid_INC=None) Minimisation explodes when using Grid_INC=None

The function can return nan or inf values, which are not handled by the minimisation algorithm, causing it to stop.
There needs to be mechanism to catch these cases.
------------------------------------------------------------------------
r23530 | tlinnet | 2014-05-28 16:49:06 +0200 (Wed, 28 May 2014) | 16 lines

Added all the default values for the lower/upper bounds which is set for the parameters in the grid search.

This is added in the collected table of specific_analysis/relax_disp/parameter_object.py.
The values were extracted from: specific_analysis/relax_disp/optimisation.py in grid_search_setup().

This is related to: task #7793: (https://gna.org/task/?7793) Speed-up of dispersion models.
Discussed in post http://thread.gmane.org/gmane.science.nmr.relax.devel/5986.

In any function, these default values can get accessed by:

from specific_analyses.relax_disp.parameter_object import Relax_disp_params
PARAMS = Relax_disp_params()
PARAMS.default_value('pA')
PARAMS.grid_upper('pA')

This provides a good look-up table, when stress testing the different lib/dispersion/* functions.
------------------------------------------------------------------------
r23529 | tlinnet | 2014-05-28 16:49:05 +0200 (Wed, 28 May 2014) | 4 lines

Added grid_upper to be handled in specific_analyses/parameter_object.py.

This is related to: task #7793: (https://gna.org/task/?7793) Speed-up of dispersion models.
Discussed in post http://thread.gmane.org/gmane.science.nmr.relax.devel/5986.
------------------------------------------------------------------------
r23528 | tlinnet | 2014-05-28 16:49:03 +0200 (Wed, 28 May 2014) | 13 lines

Added the default value upper grid value to be set for the pA parameter.

This is added in the collected table of specific_analysis/relax_disp/parameter_object.py.

This is related to: task #7793: (https://gna.org/task/?7793) Speed-up of dispersion models.
Discussed in post http://thread.gmane.org/gmane.science.nmr.relax.devel/5986.

In any function, these default values can get accessed by:

from specific_analyses.relax_disp.parameter_object import Relax_disp_params
PARAMS = Relax_disp_params()
PARAMS.default_value('pA')
PARAMS.grid_upper('pA')
------------------------------------------------------------------------
r23527 | tlinnet | 2014-05-28 16:49:02 +0200 (Wed, 28 May 2014) | 4 lines

Added grid_lower to be handled in specific_analyses/parameter_object.py.

This is related to: task #7793: (https://gna.org/task/?7793) Speed-up of dispersion models.
Discussed in post http://thread.gmane.org/gmane.science.nmr.relax.devel/5986.
------------------------------------------------------------------------
r23526 | tlinnet | 2014-05-28 16:49:00 +0200 (Wed, 28 May 2014) | 13 lines

Added the default value lower grid value to be set for the pA parameter.

This is added in the collected table of specific_analysis/relax_disp/parameter_object.py

This is related to: task #7793: (https://gna.org/task/?7793) Speed-up of dispersion models.
Discussed in post http://thread.gmane.org/gmane.science.nmr.relax.devel/5986.

In any function, these default values can get accessed by:

from specific_analyses.relax_disp.parameter_object import Relax_disp_params
PARAMS = Relax_disp_params()
PARAMS.default_value('pA')
PARAMS.grid_lower('pA')
------------------------------------------------------------------------
.....
........
r23548 | tlinnet | 2014-05-28 18:03:15 +0200 (Wed, 28 May 2014) | 4 lines

Fix for differences in systemtests which are different from trunk.

These were found with the command:
diff -bur disp_speed/test_suite/ relax_trunk/test_suite/ | grep -v "Binary files" > diff.txt
........
r23549 | tlinnet | 2014-05-28 18:08:27 +0200 (Wed, 28 May 2014) | 29 lines

FIx for incorrectly svnmerge command.

To complete the full reverse, I should have gone one reversion number down.

The command used was:
svn merge -r23526:23504 .

.....
------------------------------------------------------------------------
r23526 | tlinnet | 2014-05-28 16:49:00 +0200 (Wed, 28 May 2014) | 13 lines

Added the default value lower grid value to be set for the pA parameter.

This is added in the collected table of specific_analysis/relax_disp/parameter_object.py

This is related to: task #7793: (https://gna.org/task/?7793) Speed-up of dispersion models.
Discussed in post http://thread.gmane.org/gmane.science.nmr.relax.devel/5986.

In any function, these default values can get accessed by:

from specific_analyses.relax_disp.parameter_object import Relax_disp_params
PARAMS = Relax_disp_params()
PARAMS.default_value('pA')
PARAMS.grid_lower('pA')
------------------------------------------------------------------------
.....
........
r23563 | tlinnet | 2014-05-28 19:17:08 +0200 (Wed, 28 May 2014) | 10 lines

Converting back to having back_calc as a function argument to model B14.

This is to clean up the API.
There can be bo no partial measures/implementations in the relax trunk.

The problem is, that many numerical models can't be optimised further, since they
evolve the spin-magnetisation in a matrix. That spin evolvement can't be put into
a larger numpy array.

This is related to: task #7793: (https://gna.org/task/?7793) Speed-up of dispersion models.
........
r23564 | tlinnet | 2014-05-28 19:17:11 +0200 (Wed, 28 May 2014) | 10 lines

Converting back to having back_calc as a function argument to model CR72:

This is to clean up the API.
There can be bo no partial measures/implementations in the relax trunk.

The problem is, that many numerical models can't be optimised further, since they
evolve the spin-magnetisation in a matrix. That spin evolvement can't be put into
a larger numpy array.

This is related to: task #7793: (https://gna.org/task/?7793) Speed-up of dispersion models.
........
r23566 | tlinnet | 2014-05-28 19:17:19 +0200 (Wed, 28 May 2014) | 10 lines

Converting back to having back_calc as a function argument to model DPL94:

This is to clean up the API.
There can be bo no partial measures/implementations in the relax trunk.

The problem is, that many numerical models can't be optimised further, since they
evolve the spin-magnetisation in a matrix. That spin evolvement can't be put into
a larger numpy array.

This is related to: task #7793: (https://gna.org/task/?7793) Speed-up of dispersion models.
........
r23567 | tlinnet | 2014-05-28 19:17:27 +0200 (Wed, 28 May 2014) | 10 lines

Converting back to having back_calc as a function argument to model IT99:

This is to clean up the API.
There can be bo no partial measures/implementations in the relax trunk.

The problem is, that many numerical models can't be optimised further, since they
evolve the spin-magnetisation in a matrix. That spin evolvement can't be put into
a larger numpy array.

This is related to: task #7793: (https://gna.org/task/?7793) Speed-up of dispersion models.
........
r23569 | tlinnet | 2014-05-28 19:22:17 +0200 (Wed, 28 May 2014) | 10 lines

Converting back to having back_calc as a function argument to model LM63:

This is to clean up the API.
There can be bo no partial measures/implementations in the relax trunk.

The problem is, that many numerical models can't be optimised further, since they
evolve the spin-magnetisation in a matrix. That spin evolvement can't be put into
a larger numpy array.

This is related to: task #7793: (https://gna.org/task/?7793) Speed-up of dispersion models.
........
r23581 | tlinnet | 2014-05-29 11:29:25 +0200 (Thu, 29 May 2014) | 10 lines

Converting back to having back_calc as a function argument to model M61:

This is to clean up the API.
There can be bo no partial measures/implementations in the relax trunk.

The problem is, that many numerical models can't be optimised further, since they
evolve the spin-magnetisation in a matrix. That spin evolvement can't be put into
a larger numpy array.

This is related to: task #7793: (https://gna.org/task/?7793) Speed-up of dispersion models.
........
r23582 | tlinnet | 2014-05-29 11:35:35 +0200 (Thu, 29 May 2014) | 10 lines

Converting back to having back_calc as a function argument to model M61b:

This is to clean up the API.
There can be bo no partial measures/implementations in the relax trunk.

The problem is, that many numerical models can't be optimised further, since they
evolve the spin-magnetisation in a matrix. That spin evolvement can't be put into
a larger numpy array.

This is related to: task #7793: (https://gna.org/task/?7793) Speed-up of dispersion models.
........
r23583 | tlinnet | 2014-05-29 11:52:37 +0200 (Thu, 29 May 2014) | 10 lines

Converting back to having back_calc as a function argument to model MMQ CR72:

This is to clean up the API.
There can be bo no partial measures/implementations in the relax trunk.

The problem is, that many numerical models can't be optimised further, since they
evolve the spin-magnetisation in a matrix. That spin evolvement can't be put into
a larger numpy array.

This is related to: task #7793: (https://gna.org/task/?7793) Speed-up of dispersion models.
........
r23584 | tlinnet | 2014-05-29 11:52:39 +0200 (Thu, 29 May 2014) | 10 lines

Converting back to having back_calc as a function argument to model MP05:

This is to clean up the API.
There can be bo no partial measures/implementations in the relax trunk.

The problem is, that many numerical models can't be optimised further, since they
evolve the spin-magnetisation in a matrix. That spin evolvement can't be put into
a larger numpy array.

This is related to: task #7793: (https://gna.org/task/?7793) Speed-up of dispersion models.
........
r23585 | tlinnet | 2014-05-29 12:24:23 +0200 (Thu, 29 May 2014) | 10 lines

Converting back to having back_calc as a function argument to model NS CPMG 2site expanded.

This is to clean up the API.
There can be bo no partial measures/implementations in the relax trunk.

The problem is, that many numerical models can't be optimised further, since they
evolve the spin-magnetisation in a matrix. That spin evolvement can't be put into
a larger numpy array.

This is related to: task #7793: (https://gna.org/task/?7793) Speed-up of dispersion models.
........
r23586 | tlinnet | 2014-05-29 12:24:25 +0200 (Thu, 29 May 2014) | 10 lines

Converting back to having back_calc as a function argument to model TAP03.

This is to clean up the API.
There can be bo no partial measures/implementations in the relax trunk.

The problem is, that many numerical models can't be optimised further, since they
evolve the spin-magnetisation in a matrix. That spin evolvement can't be put into
a larger numpy array.

This is related to: task #7793: (https://gna.org/task/?7793) Speed-up of dispersion models.
........
r23587 | tlinnet | 2014-05-29 12:33:34 +0200 (Thu, 29 May 2014) | 10 lines

Converting back to having back_calc as a function argument to model TP02.

This is to clean up the API.
There can be bo no partial measures/implementations in the relax trunk.

The problem is, that many numerical models can't be optimised further, since they
evolve the spin-magnetisation in a matrix. That spin evolvement can't be put into
a larger numpy array.

This is related to: task #7793: (https://gna.org/task/?7793) Speed-up of dispersion models.
........
r23588 | tlinnet | 2014-05-29 12:33:36 +0200 (Thu, 29 May 2014) | 10 lines

Converting back to having back_calc as a function argument to model TSMFK01.

This is to clean up the API.
There can be bo no partial measures/implementations in the relax trunk.

The problem is, that many numerical models can't be optimised further, since they
evolve the spin-magnetisation in a matrix. That spin evolvement can't be put into
a larger numpy array.

This is related to: task #7793: (https://gna.org/task/?7793) Speed-up of dispersion models.
........

2014-05-29 12:19:21 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.