Relative Content

Tag Archive for pythonscipy-optimizeone-definition-rule

Correct fitting with scipy ODR including errors?

I have some data points with errors in both the x and y coordinates on these data points. I therefore need to use python’s scipy.odr.ODR tool to compute the best-fit slope and the error on this slope. However, when I try to add in error, the ODR fails and just returns the initial guess parameters.