ellipse_fitting module

fit_ellipse(xcoord, ycoord)[source]

Fit an ellipse to the given cluster points and extract ellipse parameters.

Authors: Ethan Fang Version: v0_1 (Jul 10 2023)

Parameters:
  • xcoord (list or numpy.ndarray) – X-coordinates of the cluster points.

  • ycoord (list or numpy.ndarray) – Y-coordinates of the cluster points.

Returns:

DataFrame containing ellipse information sorted by increasing major axis length.

Return type:

pandas.DataFrame