mailr27222 - /trunk/specific_analyses/relax_disp/api.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by tlinnet on January 19, 2015 - 13:48:
Author: tlinnet
Date: Mon Jan 19 13:48:44 2015
New Revision: 27222

URL: http://svn.gna.org/viewcvs/relax?rev=27222&view=rev
Log:
Raising an error, if the R2eff model is used, and drawing errors from the fit.

Task #7882 (https://gna.org/task/?7882): Implement Monte-Carlo simulation, 
where errors are generated with width of standard deviation or residuals.

Modified:
    trunk/specific_analyses/relax_disp/api.py

Modified: trunk/specific_analyses/relax_disp/api.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/specific_analyses/relax_disp/api.py?rev=27222&r1=27221&r2=27222&view=diff
==============================================================================
--- trunk/specific_analyses/relax_disp/api.py   (original)
+++ trunk/specific_analyses/relax_disp/api.py   Mon Jan 19 13:48:44 2015
@@ -1045,6 +1045,10 @@
         @return:        The standard deviation data structure.
         @rtype:         list of float
         """
+
+        # The R2eff model.
+        if cdp.model_type == MODEL_R2EFF:
+            raise RelaxError("Drawing errors from the gauss distribution 
described by the STD_fit of the goodness of fit, is not possible for the '%s' 
model."%MODEL_R2EFF)
 
         # Get the errors structure as above.
         errors = self.return_error(data_id=data_id)




Related Messages


Powered by MHonArc, Updated Mon Jan 19 14:00:02 2015