Menu

Commit [r28204]  Maximize  Restore  History

Fix for bug #24601.

This is the failure of the optimisation of the 'R2eff' dispersion model when peaks are missing from
one spectrum, as reported by Petr Padrta at https://gna.org/bugs/?24601.

To handle the missing data, the peak intensity keys are now checked for in the spin container
peak_intensities data structure. This is both for the R2eff model optimisation as well as the data
back-calculation. A warning is given when the key is missing. The relaxation dispersion
base_data_loop() method has been modified to now yield the spin ID string, as this is used in the
warnings.

In addition, the Grace plotting code in the relax library was also modified. When peak intensity
keys are missing, some of the Grace plots will have no data. The code will now generate a plot for
that data set, but detect the missing data and allow an empty plot to be created.

bugman 2016-04-27

changed /trunk/lib/plotting/grace.py
changed /trunk/specific_analyses/relax_disp/api.py
changed /trunk/specific_analyses/relax_disp/optimisation.py
/trunk/lib/plotting/grace.py Diff Switch to side-by-side view
Loading...
/trunk/specific_analyses/relax_disp/api.py Diff Switch to side-by-side view
Loading...
/trunk/specific_analyses/relax_disp/optimisation.py Diff Switch to side-by-side view
Loading...
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.