tams.calc_ellipse_eccen

tams.calc_ellipse_eccen#

tams.calc_ellipse_eccen(p)#

Calculate the (first) eccentricity of the least-squares best-fit ellipse to the coordinates of the polygon’s exterior.

Deprecated since version 0.2.0: Renamed to eccentricity().

Parameters:

p (shapely.Polygon)

Return type:

float