I am a satisfied user of scipy.optimize.leastsq
.
I now have -- really have always had -- x,y data with variable error bars, and it looks like scipy.odrpack.odr is what I need to use to respect the greater uncertainty in some of the data.
Unfortunately, I cannot find an online tutorial which includes sample code with sample input and output. (I am trying to make this as easy as possible.)
I would appreciate it if somebody could post sample code with sample I/O. This would be easy for somebody who uses the routine a lot.
Thanks! Bill