Menu

Commit [r23091]  Maximize  Restore  History

Made solutions for math domain error.

Prevented to take log of negative values, and division by zero.

This though slows the implementation down.

Systemtest Relax_disp.test_baldwin_synthetic_full went from 6.x seconds to 8-9.x seconds.

sr #3154: (https://gna.org/support/?3154) Implementation of Baldwin (2014) B14 model - 2-site exact solution model for all time scales.

This follows the tutorial for adding relaxation dispersion models at:
http://wiki.nmr-relax.com/Tutorial_for_adding_relaxation_dispersion_models_to_relax#Debugging

tlinnet 2014-05-08

changed /trunk/lib/dispersion/b14.py
/trunk/lib/dispersion/b14.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.