'Orthogonal distances between data and fitted curve in Python
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.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
