Ellipse fitting in python?
Christopher T King
squirrel at WPI.EDU
Thu Jul 15 09:17:51 EDT 2004
On Wed, 14 Jul 2004, Fernando Perez wrote:
> A quick comment in case it's not obvious: an ellipse is not a function in
> Cartesian coordinates, and most standard LS solvers expect a function. So
> it's probably best to convert things over to polar before feeding the data to
> the LS solver.
You could break both the ellipse and the data into two pieces (say, y>=K
and y<K). Polar coordinates might get you more uniform results, though.
More information about the Python-list
mailing list