py_eddy_tracker.poly.fit_circle

py_eddy_tracker.poly.fit_circle(x, y)[source]

From a polygon, function will fit a circle.

Must be called with local coordinates (in m, to get a radius in m).

Parameters:
  • x (array) – x of polygon

  • y (array) – y of polygon

Returns:

x0, y0, radius, shape_error

Return type:

(float,float,float,float)