0

I have a set of data points and a curve that is already fitted to the data. How can I calculate the orthogonal distances?

I tried to use scipy.odr but I think it just gives me the best parameters for a fitting, and I want an array of the orthogonal distances.

EB97
  • 101
  • 1
  • minimize for local shortest distance. If the function is reasonably smooth near your data point, that should be possible. see [here](https://stackoverflow.com/a/45185859/803359) – mikuszefski Apr 25 '22 at 08:09

0 Answers0