mailRe: r27211 - /trunk/specific_analyses/api_base.py


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

Header


Content

Posted by Edward d'Auvergne on January 19, 2015 - 09:55:
Hi,

This is good - it'll tell the user in all other analyses that the SSE
option for the monte_carlo.create user function is not implemented for
that analysis type.

Cheers,

Edward


On 16 January 2015 at 23:20,  <tlinnet@xxxxxxxxxxxxx> wrote:
Author: tlinnet
Date: Fri Jan 16 23:20:08 2015
New Revision: 27211

URL: http://svn.gna.org/viewcvs/relax?rev=27211&view=rev
Log:
Implemented the api_base method of return_error_sum_squares(), as raising 
an error if not defined for the api for the pipe_type.

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/api_base.py

Modified: trunk/specific_analyses/api_base.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/specific_analyses/api_base.py?rev=27211&r1=27210&r2=27211&view=diff
==============================================================================
--- trunk/specific_analyses/api_base.py (original)
+++ trunk/specific_analyses/api_base.py Fri Jan 16 23:20:08 2015
@@ -596,6 +596,19 @@
         raise RelaxImplementError('return_error')


+    def return_error_sum_squares(self, data_id=None):
+        """Return the standard deviation from the sum of squares of the 
residuals from the optimisation.
+
+        @keyword data_id:   The data identification information, as 
yielded by the base_data_loop() generator method.
+        @type data_id:      anything
+        @return:            The array of data error values.
+        @rtype:             list of float
+        """
+
+        # Not implemented.
+        raise RelaxImplementError('return_error_sum_squares')
+
+
     def return_grace_string(self, param):
         """Return the Grace string representation of the parameter.



_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-commits mailing list
relax-commits@xxxxxxx

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits



Related Messages


Powered by MHonArc, Updated Mon Jan 19 10:20:12 2015