Open main menu

Changes

Relax 3.2.2

3,172 bytes added, 12:25, 8 September 2014
m
Nicer formatting of all symbols/parameters.
== Features ==
* Large speedups of all analytical relaxation dispersion models by converting the R2eff R<sub>2eff</sub> calculations and value error checking from single values to numpy arrays.
* Edge cases where function failures occur are now properly handled for all analytical relaxation dispersion models.
* Completion of the frame_order.pdb_model user function backend for the frame order PDB representation.
* Modified py_type from "list" to "float_array" in uf_object type in user function dx.map. [https://gna.org/bugs/?22035 Bug #22035] The dx.map user function is broken in the GUI.
* Added py_type "list_val_or_list_of_list_val" to be handled in GUI uf_objects. [https://gna.org/bugs/?22035 Bug #22035] The dx.map user function is broken in the GUI.
* Modified the frame order constraints so that cone_theta_x cone<= cone_theta_ysub>&theta;<sub>x</sub></sub> &le; cone<sub>&theta;<sub>y</sub></sub>. The linear_constraints() function docstring has been updated to include this constraint.
* Set dim=4 when setting chi surface level in user function dx.map.
* Fix for the n_state_model.cone_pdb user function for the recent internal structural object changes. The cone arguments should now be called cone_obj.
* Created a file selection wildcard for use in the GUI for selecting peak lists. This is used in the four user functions which read peak lists.
* Changed all *.* GUI file selection wildcards to *.
* Huge speedup for model [[CR72]]. [https://gna.org/task/?7793 Task #7793] Speedup of dispersion models. The system test Relax_disp.test_cpmg_synthetic_cr72_full_noise_cluster changes from 7 seconds to 4.5 seconds. This is won by not checking single values in the R2eff R<sub>2eff</sub> array for math domain errors, but calculating all steps, and in one single round check for finite values. If just one non-finite value is found, the whole array is returned with a large penalty of 1e100. This makes all calculations be the fastest numpy array way.
* Fix for system test test_cpmg_synthetic_dx_map_points. [https://gna.org/task/?7793 Task #7793] Speedup of dispersion models.
* Critical fixes for system test Relax_disp.test_hansen_cpmg_data_missing_auto_analysis. [https://gna.org/task/?7793 Task #7793] Speedup of dispersion models. It is suspected that when relax have touched boundary values which made math domain errors, the error catching have created local minima or interfered with the simplex search algorithm.
* Speedup of model [[TSMFK01]]. [https://gna.org/task/?7793 Task #7793] Speedup of dispersion models. This is won by not checking single values in the R2eff R<sub>2eff</sub> array for math domain errors, but calculating all steps, and in one single round check for finite values. If just one non-finite value is found, the whole array is returned with a large penalty of 1e100. This makes all calculations be the fastest numpy array way.* Huge speedup of model [[B14]]. [https://gna.org/task/?7793 Task #7793] Speedup of dispersion models. Time test for system tests: test_baldwin_synthetic 2.626s -> 1.990s, test_baldwin_synthetic_full 18.326s -> 13.742s. This is won by not checking single values in the R2eff R<sub>2eff</sub> array for math domain errors, but calculating all steps, and in one single round check for finite values. If just one non-finite value is found, the whole array is returned with a large penalty of 1e100. This makes all calculations be the fastest numpy array way.* Speedup of model [[TP02]]. [https://gna.org/task/?7793 Task #7793] Speedup of dispersion models. The change for running system test is: test_curve_type_r1rho_fixed_time 0.057s -> 0.049s, test_tp02_data_to_ns_r1rho_2site 10.539s -> 10.456s, test_tp02_data_to_tp02 8.608s -> 5.727s. This is won by not checking single values in the R1rho R<sub>1&rho;</sub> array for math domain errors, but calculating all steps, and in one single round check for finite values. If just one non-finite value is found, the whole array is returned with a large penalty of 1e100. This makes all calculations be the fastest numpy array way.* Huge speedup for model [[TAP03]]. [https://gna.org/task/?7793 Task #7793] Speedup of dispersion models. The change for running system test is: test_tp02_data_to_tap03 13.869s -> 7.263s. This is won by not checking single values in the R1rho R<sub>1&rho;</sub> array for math domain errors, but calculating all steps, and in one single round check for finite values. If just one non-finite value is found, the whole array is returned with a large penalty of 1e100. This makes all calculations be the fastest numpy array way.
* Speedup of model [[MP05]]. [https://gna.org/task/?7793 Task #7793] Speedup of dispersion models. The change in system test is: test_tp02_data_to_mp05 10.750s -> 6.644s.
* Speedup of model [[MMQ CR72]]. [https://gna.org/task/?7793 Task #7793] Speedup of dispersion models. Change in system test: test_sprangers_data_to_mmq_CR72 9.892s -> 4.121s.
* Removing unnecessary math-domain catching for model [[IT99]]. [https://gna.org/task/?7793 Task #7793] Speedup of dispersion models. The denominator is always positive.
* Align math-domain catching for model [[NS CPMG 2-site expanded]] with trunk implementation. [https://gna.org/task/?7793 Task #7793] Speedup of dispersion models. This is to implement catching of math domain errors, before they occur. The catching of errors have to be more careful.
* Modified unit tests demonstrating edge case 'no RexR<sub>ex</sub>' failures of the model [[NS CPMG 2-site expanded]]. This is to align with the current return of data in the disp_speed branch. This follows from the ideas in the post http://article.gmane.org/gmane.science.nmr.relax.devel/5858. This is related to [https://gna.org/task/?7793 task #7793] Speedup of dispersion models. This is to implement catching of math domain errors, before they occur. These tests cover all parameter value combinations which result in no exchange: dw &delta;&omega; = 0.0; pA p<sub>A</sub> = 1.0; kex k<sub>ex</sub> = 0.0; dw &delta;&omega; = 0.0 and pA p<sub>A</sub> = 1.0; dw &delta;&omega; = 0.0 and kex k<sub>ex</sub> = 0.0; pA p<sub>A</sub> = 1.0 and kex k<sub>ex</sub> = 0.0; dw &delta;&omega; = 0.0, pA p<sub>A</sub> = 1.0, and kex k<sub>ex</sub> = 0.0.* Added 7 unit tests demonstrating edge case 'no RexR<sub>ex</sub>' failures of the model [[DPL94]]. This follows from the ideas in the post http://article.gmane.org/gmane.science.nmr.relax.devel/5858. This is related to [https://gna.org/task/?7793 task #7793] Speedup of dispersion models. This is to implement catching of math domain errors, before they occur. These tests cover all parameter value combinations which result in no exchange: dw &delta;&omega; = 0.0; pA p<sub>A</sub> = 1.0; kex k<sub>ex</sub> = 0.0; dw &delta;&omega; = 0.0 and pA p<sub>A</sub> = 1.0; dw &delta;&omega; = 0.0 and kex k<sub>ex</sub> = 0.0; pA p<sub>A</sub> = 1.0 and kex k<sub>ex</sub> = 0.0; dw &delta;&omega; = 0.0, pA p<sub>A</sub> = 1.0, and kex k<sub>ex</sub> = 0.0.
* Unit test _lib/test_ns_cpmg_2site_expanded.py copied to _/test_lm63.py. They are both of CPMG type.
* Added 7 unit tests demonstrating edge case 'no RexR<sub>ex</sub>' failures of the model [[LM63]]. This follows from the ideas in the post http://article.gmane.org/gmane.science.nmr.relax.devel/5858. This is related to [https://gna.org/task/?7793 task #7793] Speedup of dispersion models. This is to implement catching of math domain errors, before they occur. These tests cover all parameter value combinations which result in no exchange: dw &delta;&omega; = 0.0; pA p<sub>A</sub> = 1.0; kex k<sub>ex</sub> = 0.0; dw &delta;&omega; = 0.0 and pA p<sub>A</sub> = 1.0; dw &delta;&omega; = 0.0 and kex k<sub>ex</sub> = 0.0; pA p<sub>A</sub> = 1.0 and kex k<sub>ex</sub> = 0.0; dw &delta;&omega; = 0.0, pA p<sub>A</sub> = 1.0, and kex k<sub>ex</sub> = 0.0.
* Unit test _lib/_dispersion/test_ns_cpmg_2site_expanded.py copied to _lib/_dispersion/b14.py. They are both of CPMG type, and can be re-used.
* Added 7 unit tests demonstrating edge case 'no RexR<sub>ex</sub>' failures of the model [[B14]]. This follows from the ideas in the post http://article.gmane.org/gmane.science.nmr.relax.devel/5858. This is related to [https://gna.org/task/?7793 task #7793] Speedup of dispersion models. This is to implement catching of math domain errors, before they occur. These tests cover all parameter value combinations which result in no exchange: dw &delta;&omega; = 0.0; pA p<sub>A</sub> = 1.0; kex k<sub>ex</sub> = 0.0; dw &delta;&omega; = 0.0 and pA p<sub>A</sub> = 1.0; dw &delta;&omega; = 0.0 and kex k<sub>ex</sub> = 0.0; pA p<sub>A</sub> = 1.0 and kex k<sub>ex</sub> = 0.0; dw &delta;&omega; = 0.0, pA p<sub>A</sub> = 1.0, and kex k<sub>ex</sub> = 0.0.
* Removed unnecessary math domain checking in model [[B14]]. They are slowing down the code. There is now protection for edge cases, and a last final check, before returning values. That should be sufficient.
* Unit test _lib/_dispersion/test_b14.py copied to _lib/_dispersion/test_CR72.py. They are both of CPMG type, and can be re-used.
* Copied unit test _lib/_dispersion/* to be reused for other models.
* Added 8 unit tests demonstrating edge case 'no RexR<sub>ex</sub>' failures of the model [[CR72]]. This follows from the ideas in the post http://article.gmane.org/gmane.science.nmr.relax.devel/5858. This is related to [https://gna.org/task/?7793 task #7793] Speedup of dispersion models. This is to implement catching of math domain errors, before they occur. These tests cover all parameter value combinations which result in no exchange: dw &delta;&omega; = 0.0; pA p<sub>A</sub> = 1.0; kex k<sub>ex</sub> = 0.0; dw &delta;&omega; = 0.0 and pA p<sub>A</sub> = 1.0; dw &delta;&omega; = 0.0 and kex k<sub>ex</sub> = 0.0; pA p<sub>A</sub> = 1.0 and kex k<sub>ex</sub> = 0.0; dw &delta;&omega; = 0.0, pA p<sub>A</sub> = 1.0, and kex k<sub>ex</sub> = 0.0; kex k<sub>ex</sub> = 1e5.* Added the 8th unit tests demonstrating edge case 'no RexR<sub>ex</sub>' failures of the model [[B14]]. This follows from the ideas in the post http://article.gmane.org/gmane.science.nmr.relax.devel/5858. This is related to [https://gna.org/task/?7793 task #7793] Speedup of dispersion models. This is to implement catching of math domain errors, before they occur. These tests cover all parameter value combinations which result in no exchange: dw &delta;&omega; = 0.0; pA p<sub>A</sub> = 1.0; kex k<sub>ex</sub> = 0.0; dw &delta;&omega; = 0.0 and pA p<sub>A</sub> = 1.0; dw &delta;&omega; = 0.0 and kex k<sub>ex</sub> = 0.0; pA p<sub>A</sub> = 1.0 and kex k<sub>ex</sub> = 0.0; dw &delta;&omega; = 0.0, pA p<sub>A</sub> = 1.0, and kex k<sub>ex</sub> = 0.0; kex k<sub>ex</sub> = 1e5.* Added the 8th unit tests demonstrating edge case 'no RexR<sub>ex</sub>' failures of the model [[LM63]]. This follows from the ideas in the post http://article.gmane.org/gmane.science.nmr.relax.devel/5858. This is related to [https://gna.org/task/?7793 task #7793] Speedup of dispersion models. This is to implement catching of math domain errors, before they occur. These tests cover all parameter value combinations which result in no exchange: dw &delta;&omega; = 0.0; pA p<sub>A</sub> = 1.0; kex k<sub>ex</sub> = 0.0; dw &delta;&omega; = 0.0 and pA p<sub>A</sub> = 1.0; dw &delta;&omega; = 0.0 and kex k<sub>ex</sub> = 0.0; pA p<sub>A</sub> = 1.0 and kex k<sub>ex</sub> = 0.0; dw &delta;&omega; = 0.0, pA p<sub>A</sub> = 1.0, and kex k<sub>ex</sub> = 0.0; kex k<sub>ex</sub> = 1e20.* Small fix for 8 unit tests demonstrating edge case 'no RexR<sub>ex</sub>' failures of the model 'ns cpmg_2site_expanded'. The comparison of R2eff R<sub>2eff</sub> is now divided into a special case for kex k<sub>ex</sub> having large values.
* Deleted unit test case for lm63 3site.
* Added 8 unit tests demonstrating edge case 'no RexR<sub>ex</sub>' failures of the model [[M61]]. This follows from the ideas in the post http://article.gmane.org/gmane.science.nmr.relax.devel/5858. This is related to [https://gna.org/task/?7793 task #7793] Speedup of dispersion models. This is to implement catching of math domain errors, before they occur. These tests cover all parameter value combinations which result in no exchange: dw &delta;&omega; = 0.0; pA p<sub>A</sub> = 1.0; kex k<sub>ex</sub> = 0.0; dw &delta;&omega; = 0.0 and pA p<sub>A</sub> = 1.0; dw &delta;&omega; = 0.0 and kex k<sub>ex</sub> = 0.0; pA p<sub>A</sub> = 1.0 and kex k<sub>ex</sub> = 0.0; dw &delta;&omega; = 0.0, pA p<sub>A</sub> = 1.0, and kex k<sub>ex</sub> = 0.0; kex k<sub>ex</sub> = 1e20.* Added the 8th unit tests demonstrating edge case 'no RexR<sub>ex</sub>' failures of the model [[DPL94]]. This follows from the ideas in the post http://article.gmane.org/gmane.science.nmr.relax.devel/5858. This is related to [https://gna.org/task/?7793 task #7793] Speedup of dispersion models. This is to implement catching of math domain errors, before they occur. These tests cover all parameter value combinations which result in no exchange:* Added 8 unit tests demonstrating edge case 'no RexR<sub>ex</sub>' failures of the model [[M61b]]. This follows from the ideas in the post http://article.gmane.org/gmane.science.nmr.relax.devel/5858. This is related to [https://gna.org/task/?7793 task #7793] Speedup of dispersion models. This is to implement catching of math domain errors, before they occur. These tests cover all parameter value combinations which result in no exchange: dw &delta;&omega; = 0.0; pA p<sub>A</sub> = 1.0; kex k<sub>ex</sub> = 0.0; dw &delta;&omega; = 0.0 and pA p<sub>A</sub> = 1.0; dw &delta;&omega; = 0.0 and kex k<sub>ex</sub> = 0.0; pA p<sub>A</sub> = 1.0 and kex k<sub>ex</sub> = 0.0; dw &delta;&omega; = 0.0, pA p<sub>A</sub> = 1.0, and kex k<sub>ex</sub> = 0.0; kex k<sub>ex</sub> = 1e20.
* Math-domain catching for model [[M61b]]. [https://gna.org/task/?7793 Task #7793] Speedup of dispersion models. This is to implement catching of math domain errors, before they occur. These can be found via the --numpy-raise function to the system tests. To make the code look clean, the class object "back_calc" is no longer being updated per time point, but is updated in the relax_disp target function in one go.
* Modified script to be able to run system test Relax_disp.xxx_test_m61b_data_to_m61b.
* Added 8 unit tests demonstrating edge case 'no RexR<sub>ex</sub>' failures of the model [[IT99]]. This follows from the ideas in the post http://article.gmane.org/gmane.science.nmr.relax.devel/5858. This is related to [https://gna.org/task/?7793 task #7793] Speedup of dispersion models. This is to implement catching of math domain errors, before they occur. These tests cover all parameter value combinations which result in no exchange: dw &delta;&omega; = 0.0; pA p<sub>A</sub> = 1.0; kex k<sub>ex</sub> = 0.0; dw &delta;&omega; = 0.0 and pA p<sub>A</sub> = 1.0; dw &delta;&omega; = 0.0 and kex k<sub>ex</sub> = 0.0; pA p<sub>A</sub> = 1.0 and kex k<sub>ex</sub> = 0.0; dw &delta;&omega; = 0.0, pA p<sub>A</sub> = 1.0, and kex k<sub>ex</sub> = 0.0; kex k<sub>ex</sub> = 1e19.* Added 9 unit tests demonstrating edge case 'no RexR<sub>ex</sub>' failures of the model [[MMQ CR72]]. This follows from the ideas in the post http://article.gmane.org/gmane.science.nmr.relax.devel/5858. This is related to [https://gna.org/task/?7793 task #7793] Speedup of dispersion models. This is to implement catching of math domain errors, before they occur. These tests cover all parameter value combinations which result in no exchange: dw &delta;&omega; = 0.0; pA p<sub>A</sub> = 1.0; kex k<sub>ex</sub> = 0.0; dw &delta;&omega; = 0.0 and pA p<sub>A</sub> = 1.0; dw &delta;&omega; = 0.0 and kex k<sub>ex</sub> = 0.0; pA p<sub>A</sub> = 1.0 and kex k<sub>ex</sub> = 0.0; dw &delta;&omega; = 0.0, pA p<sub>A</sub> = 1.0, and kex k<sub>ex</sub> = 0.0; kex k<sub>ex</sub> = 1e5; dwH &delta;&omega;H = 0.0.* Added 8 unit tests demonstrating edge case 'no RexR<sub>ex</sub>' failures of the model [[MP05]]. This follows from the ideas in the post http://article.gmane.org/gmane.science.nmr.relax.devel/5858. This is related to [https://gna.org/task/?7793 task #7793] Speedup of dispersion models. This is to implement catching of math domain errors, before they occur. These tests cover all parameter value combinations which result in no exchange: dw &delta;&omega; = 0.0; pA p<sub>A</sub> = 1.0; kex k<sub>ex</sub> = 0.0; dw &delta;&omega; = 0.0 and pA p<sub>A</sub> = 1.0; dw &delta;&omega; = 0.0 and kex k<sub>ex</sub> = 0.0; pA p<sub>A</sub> = 1.0 and kex k<sub>ex</sub> = 0.0; dw &delta;&omega; = 0.0, pA p<sub>A</sub> = 1.0, and kex k<sub>ex</sub> = 0.0; kex k<sub>ex</sub> = 1e20.* Added 8 unit tests demonstrating edge case 'no RexR<sub>ex</sub>' failures of the model [[TAP03]]. This follows from the ideas in the post http://article.gmane.org/gmane.science.nmr.relax.devel/5858. This is related to [https://gna.org/task/?7793 task #7793] Speedup of dispersion models. This is to implement catching of math domain errors, before they occur. These tests cover all parameter value combinations which result in no exchange: dw &delta;&omega; = 0.0; pA p<sub>A</sub> = 1.0; kex k<sub>ex</sub> = 0.0; dw &delta;&omega; = 0.0 and pA p<sub>A</sub> = 1.0; dw &delta;&omega; = 0.0 and kex k<sub>ex</sub> = 0.0; pA p<sub>A</sub> = 1.0 and kex k<sub>ex</sub> = 0.0; dw &delta;&omega; = 0.0, pA p<sub>A</sub> = 1.0, and kex k<sub>ex</sub> = 0.0; kex k<sub>ex</sub> = 1e20.* Added 8 unit tests demonstrating edge case 'no RexR<sub>ex</sub>' failures of the model [[TP02]]. This follows from the ideas in the post http://article.gmane.org/gmane.science.nmr.relax.devel/5858. This is related to [https://gna.org/task/?7793 task #7793] Speedup of dispersion models. This is to implement catching of math domain errors, before they occur. These tests cover all parameter value combinations which result in no exchange: dw &delta;&omega; = 0.0; pA p<sub>A</sub> = 1.0; kex k<sub>ex</sub> = 0.0; dw &delta;&omega; = 0.0 and pA p<sub>A</sub> = 1.0; dw &delta;&omega; = 0.0 and kex k<sub>ex</sub> = 0.0; pA p<sub>A</sub> = 1.0 and kex k<sub>ex</sub> = 0.0; dw &delta;&omega; = 0.0, pA p<sub>A</sub> = 1.0, and kex k<sub>ex</sub> = 0.0; kex k<sub>ex</sub> = 1e20.* Added 7 unit tests demonstrating edge case 'no RexR<sub>ex</sub>' failures of the model [[TSMFK01]]. This follows from the ideas in the post http://article.gmane.org/gmane.science.nmr.relax.devel/5858. This is related to [https://gna.org/task/?7793 task #7793] Speedup of dispersion models. This is to implement catching of math domain errors, before they occur. These tests cover all parameter value combinations which result in no exchange: dw &delta;&omega; = 0.0; pA p<sub>A</sub> = 1.0; kex k<sub>ex</sub> = 0.0; dw &delta;&omega; = 0.0 and pA p<sub>A</sub> = 1.0; dw &delta;&omega; = 0.0 and kex k<sub>ex</sub> = 0.0; pA p<sub>A</sub> = 1.0 and kex k<sub>ex</sub> = 0.0; dw &delta;&omega; = 0.0, pA p<sub>A</sub> = 1.0, and kex k<sub>ex</sub> = 0.0.
* Copied unit test test_b14.py to test_ns_cpmg_2site_3d.py.
* Added 8 unit tests demonstrating edge case 'no RexR<sub>ex</sub>' failures of the model [[NS CPMG 2-site 3D]]. This follows from the ideas in the post http://article.gmane.org/gmane.science.nmr.relax.devel/5858. This is related to [https://gna.org/task/?7793 task #7793] Speedup of dispersion models. This is to implement catching of math domain errors, before they occur. These tests cover all parameter value combinations which result in no exchange: dw &delta;&omega; = 0.0; pA p<sub>A</sub> = 1.0; kex k<sub>ex</sub> = 0.0; dw &delta;&omega; = 0.0 and pA p<sub>A</sub> = 1.0; dw &delta;&omega; = 0.0 and kex k<sub>ex</sub> = 0.0; pA p<sub>A</sub> = 1.0 and kex k<sub>ex</sub> = 0.0; dw &delta;&omega; = 0.0, pA p<sub>A</sub> = 1.0, and kex k<sub>ex</sub> = 0.0; kex k<sub>ex</sub> = 1e7.* Modified unit tests demonstrating edge cases 'no RexR<sub>ex</sub>' failures of the model [[TP02]]. The catching of errors for off-resonance R1rho R<sub>1&rho;</sub> models was implemented wrong. This follows from the ideas in the post http://article.gmane.org/gmane.science.nmr.relax.devel/5858. This is related to [https://gna.org/task/?7793 task #7793] Speedup of dispersion models. This was pointed out in the post http://article.gmane.org/gmane.science.nmr.relax.devel/5938. This is to implement catching of math domain errors, before they occur. These tests cover all parameter value combinations which result in no exchange: dw &delta;&omega; = 0.0; pA p<sub>A</sub> = 1.0; kex k<sub>ex</sub> = 0.0; dw &delta;&omega; = 0.0 and pA p<sub>A</sub> = 1.0; dw &delta;&omega; = 0.0 and kex k<sub>ex</sub> = 0.0; pA p<sub>A</sub> = 1.0 and kex k<sub>ex</sub> = 0.0; dw &delta;&omega; = 0.0, pA p<sub>A</sub> = 1.0, and kex k<sub>ex</sub> = 0.0; kex k<sub>ex</sub> = 1e5.* Critical fix for the math domain catching of model [[TP02]]. The catching of errors for off-resonance R1rho R<sub>1&rho;</sub> models was implemented wrong. This was pointed out in the post http://article.gmane.org/gmane.science.nmr.relax.devel/5938.* Modified unit tests demonstrating edge cases 'no RexR<sub>ex</sub>' failures of the model [[DPL94]]. This was pointed out in the post http://article.gmane.org/gmane.science.nmr.relax.devel/5938.* Modified unit tests demonstrating edge cases 'no RexR<sub>ex</sub>' failures of the model [[MP05]]. The catching of errors for off-resonance R1rho R<sub>1&rho;</sub> models was implemented wrong. This was pointed out in the post http://article.gmane.org/gmane.science.nmr.relax.devel/5938. This follows from the ideas in the post http://article.gmane.org/gmane.science.nmr.relax.devel/5858. This is related to [https://gna.org/task/?7793 task #7793] Speedup of dispersion models. This is to implement catching of math domain errors, before they occur.* Critical fix for the math domain catching of model [[MP05]]. The catching of errors for off-resonance R1rho R<sub>1&rho;</sub> models was implemented wrong. This was pointed out in the post http://article.gmane.org/gmane.science.nmr.relax.devel/5938.* Modified unit tests demonstrating edge cases 'no RexR<sub>ex</sub>' failures of the model [[TAP03]]. The catching of errors for off-resonance R1rho R<sub>1&rho;</sub> models was implemented wrong. This was pointed out in the post http://article.gmane.org/gmane.science.nmr.relax.devel/5938. And post http://article.gmane.org/gmane.science.nmr.relax.devel/5944. This follows from the ideas in the post http://article.gmane.org/gmane.science.nmr.relax.devel/5858. This is related to [https://gna.org/task/?7793 task #7793] Speedup of dispersion models.* Critical fix for the math domain catching of model [[TAP03]]. The catching of errors for off-resonance R1rho R<sub>1&rho;</sub> models was implemented wrong. This was pointed out in the post http://article.gmane.org/gmane.science.nmr.relax.devel/5938. And post http://article.gmane.org/gmane.science.nmr.relax.devel/5944.* Modified unit tests demonstrating edge cases 'no RexR<sub>ex</sub>' failures of the model [[MMQ CR72]]. This was pointed out in post http://article.gmane.org/gmane.science.nmr.relax.devel/5940. And in post http://article.gmane.org/gmane.science.nmr.relax.devel/5946. This follows from the ideas in the post http://article.gmane.org/gmane.science.nmr.relax.devel/5858. This is related to [https://gna.org/task/?7793 task #7793] Speedup of dispersion models.
* Small fix for the math domain catching of model [[MMQ CR72]]. This was pointed out in the post http://article.gmane.org/gmane.science.nmr.relax.devel/5940. And in post http://article.gmane.org/gmane.science.nmr.relax.devel/5946.
* Various spacing fixes in unit test files _lib/_dispersion. This is the preparation for merging back disp_speed branch into trunk. This follows post http://article.gmane.org/gmane.science.nmr.relax.devel/5948. Usin the code validator script './devel_scripts/code_validator'.
* Modified that unit tests having different r20a and r20b values is checking if the correct one is returned. This is the preparation for merging back disp_speed branch into trunk. This follows post http://article.gmane.org/gmane.science.nmr.relax.devel/5948.
* Modified unit test to have standard population of pA p<sub>A</sub> = 0.95, and a correctly calculation of dw &delta;&omega; in ppm to rad/s. This is related to [https://gna.org/task/?7793 task #7793] Speedup of dispersion models.
* Small fix in parameter calculation in unit test _dispersion/test_ns_cpmg_2site_expanded.
* Increased max kex k<sub>ex</sub> to value 1e18 for unit test of lin/ns_cpmg_2site_expanded.py.* Increased max kex k<sub>ex</sub> to value 1e20 for unit test of lib/ns_cpmg_2site_3d.py.
* Fix for looking for negative values, when all values where converted to positive in matrix in ns_cpmg_2site_3d.py. This is to implement catching of math domain errors, before they occur. This follows from the ideas in the post http://article.gmane.org/gmane.science.nmr.relax.devel/5858. This is related to [https://gna.org/task/?7793 task #7793] Speedup of dispersion models.
* Removed nested looping of returning back_calc in lib/ns_cpmg_2site_3d.
* Removed the 8th unit test for model [[NS CPMG 2-site 3D]]. This was the catching of errors when kex k<sub>ex</sub> = 1e20. The model cannot handle this situations, and we need to let it fail.* Removed the 8th unit test for model [[NS CPMG 2-site expanded]]. This was the catching of errors when kex k<sub>ex</sub> has high values. The model cannot handle this situations, and we need to let it fail.
* Fix for differences in system tests 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.
* 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 evolution can't be put into a larger numpy array. This is related to [https://gna.org/task/?7793 task #7793] Speedup of dispersion models.
* Bug fix for the lib.arg_check.is_float_object() function. The dim argument can sometimes be an integer rather than a tuple, but this was not handled by the function. Now integer dim arguments are pre-converted to lists before performing all the checks.
* Fix for [https://gna.org/bugs/?22105 bug #22105]. This is the failure spectrum.read_intensities GUI user function whereby a file name is turned into lists of characters. A few changes were made to allow the Selector_file_multiple GUI element to operate correctly.
* Critical fix for the math domain catching of model [[LM63]]. This was discovered with the added 7 unit tests demonstrating edge case 'no RexR<sub>ex</sub>' failures. This follows from the ideas in the post http://article.gmane.org/gmane.science.nmr.relax.devel/5858. This is related to [https://gna.org/task/?7793 task #7793] Speedup of dispersion models. This is to implement catching of math domain errors, before they occur.* Critical fix for the math domain catching of model [[B14]]. This was discovered with the added 7 unit tests demonstrating edge case 'no RexR<sub>ex</sub>' failures. This follows from the ideas in the post http://article.gmane.org/gmane.science.nmr.relax.devel/5858. This is related to [https://gna.org/task/?7793 task #7793] Speedup of dispersion models. This is to implement catching of math domain errors, before they occur.* Critical fix for the math domain catching of model [[CR72]]. This was discovered with the added 8 unit tests demonstrating edge case 'no RexR<sub>ex</sub>' failures. This follows from the ideas in the post http://article.gmane.org/gmane.science.nmr.relax.devel/5858. This is related to [https://gna.org/task/?7793 task #7793] Speedup of dispersion models. This is to implement catching of math domain errors, before they occur. When kex k<sub>ex</sub> is large, e.g. kex k<sub>ex</sub> = 1e5, the values of etapos = eta_scale * sqrt(Psi + sqrt_psi2_zeta2) / cpmg_frqs will exceed possible numerical representation. The catching of these occurrences needed to be re-written.* Critical fix for the math domain catching of model [[B14]]. This was discovered with the added 8 unit tests demonstrating edge case 'no RexR<sub>ex</sub>' failures. This follows from the ideas in the post http://article.gmane.org/gmane.science.nmr.relax.devel/5858. This is related to [https://gna.org/task/?7793 task #7793] Speedup of dispersion models. This is to implement catching of math domain errors, before they occur. When kex k<sub>ex</sub> is large, e.g. kex k<sub>ex</sub> = 1e5, "nan" values where produced, which were replaced with 1e100. The catching of these occurrences needed to be re-written.* Critical fix for the math domain catching of model [[CR72]]. Removed the test for kex k<sub>ex</sub>= &ge; 1.e5. This catching should rather be performed on the math functions instead.* Critical fix for the math domain catching of model [[B14]]. Removed the test for kex k<sub>ex</sub>= &ge; 1.e5. This catching should rather be performed on the math functions instead. In this case, it is the catching of sinh(), not evaluating values above 710.* Critical fix for the math domain catching of model [[MMQ CR72]]. This was discovered with the added 9 unit tests demonstrating edge case 'no RexR<sub>ex</sub>' failures. This follows from the ideas in the post http://article.gmane.org/gmane.science.nmr.relax.devel/5858. This is related to [https://gna.org/task/?7793 task #7793] Speedup of dispersion models. This is to implement catching of math domain errors, before they occur.* Critical fix for the math domain catching of model [[IT99]]. This was discovered with the added 8 unit tests demonstrating edge case 'no RexR<sub>ex</sub>' failures. This follows from the ideas in the post http://article.gmane.org/gmane.science.nmr.relax.devel/5858. This is related to [https://gna.org/task/?7793 task #7793] Speedup of dispersion models. This is to implement catching of math domain errors, before they occur. The catching of these occurrences needed to be re-written.* Critical fix for the math domain catching of model [[TAP03]]. This was discovered with the added 8 unit tests demonstrating edge case 'no RexR<sub>ex</sub>' failures. This follows from the ideas in the post http://article.gmane.org/gmane.science.nmr.relax.devel/5858. This is related to [https://gna.org/task/?7793 task #7793] Speedup of dispersion models. This is to implement catching of math domain errors, before they occur.* Critical fix for the math domain catching of model [[TP02]]. This was discovered with the added 8 unit tests demonstrating edge case 'no RexR<sub>ex</sub>' failures. This follows from the ideas in the post http://article.gmane.org/gmane.science.nmr.relax.devel/5858. This is related to [https://gna.org/task/?7793 task #7793] Speedup of dispersion models. This is to implement catching of math domain errors, before they occur.* Critical fix for the math domain catching of model [[TSMFK01]]. This was discovered with the added 8 unit tests demonstrating edge case 'no RexR<sub>ex</sub>' failures. This follows from the ideas in the post http://article.gmane.org/gmane.science.nmr.relax.devel/5858. This is related to [https://gna.org/task/?7793 task #7793] Speedup of dispersion models. This is to implement catching of math domain errors, before they occur. The catching of these occurrences needed to be re-written.* Critical fix for the math domain catching of model [[NS CPMG 2-site 3D]]. This was discovered with the added 8 unit tests demonstrating edge case 'no RexR<sub>ex</sub>' failures. This follows from the ideas in the post http://article.gmane.org/gmane.science.nmr.relax.devel/5858. This is related to [https://gna.org/task/?7793 task #7793] Speedup of dispersion models. This is to implement catching of math domain errors, before they occur.
* Fix for [http://gna.org/bugs/?22112 bug #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.
* Another fix for [http://gna.org/bugs/?22112 bug #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().
Trusted, Bureaucrats
4,223

edits