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,  <tlin...@nmr-relax.com> 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-comm...@gna.org
>
> 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

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

This is the relax-devel mailing list
relax-devel@gna.org

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-devel

Reply via email to