[SciPy-User] ODR and full output puzzle

Robert Kern robert.kern@gmail....
Sat Apr 10 18:03:02 CDT 2010


On Sat, Apr 10, 2010 at 12:55, ms <devicerandom@gmail.com> wrote:
> Hi,
>
> I am using ODR for a program and I now would like to have the optional
> attributes in the output from the fit, as described here (In particular,
> I'd like to have the sum of squares error):
>
> http://www.scipy.org/doc/api_docs/SciPy.odr.odrpack.Output.html
>
> The documentation there says such parameters:
>
> " [are] Present if odr() was run with "full_output=1"."
>
> Well, problem is that nothing in the documentation (no examples,
> nothing) mentions running odr(), that help(scipy.odr.odr) returns
> nothing except a terse list of parameters, that no other documentation
> is also available online about this function and in fact I do my fits
> since years with ODR without having ever run odr(). All I can find on
> the function is the bottom lines of this page:
>
> http://docs.scipy.org/doc/scipy/reference/odr.html
>
> which doesn't help a lot, as you can see.
>
> Does anyone know what does this function do and how to obtain the full
> output?

Sorry, the answer to your actual question is that the Output instance
with all of the attributes is output by the ODR.run() method. You
don't need to change anything or use the odr() function. ODR.run()
will call odr() with full_output=1.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
  -- Umberto Eco


More information about the SciPy-User mailing list