Menu

Commit [r18791]  Maximize  Restore  History

Bug fix for the structure RMSD function for when old numpy versions are present.

Older numpy versions do not have the ddof argument for the std() standard deviation function,
therefore relax now catches this, calculates the biased standard deviation formula, and then
multiplies the value by a correction factor to obtain the non-biased estimator.

bugman 2013-03-12

changed /trunk/generic_fns/structure/statistics.py
/trunk/generic_fns/structure/statistics.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.