sep.ellipse_axes

sep.ellipse_axes(cxx, cyy, cxy)

Convert from coefficient ellipse representation to ellipse axes and angle.

Parameters
cxx, cyy, cxyarray_like

Describes the ellipse(s) cxx * x**2 + cyy * y**2 + cxy * x * y = 1

Returns
a, b, thetandarray

Ellipse(s) semi-major, semi-minor axes and position angle respectively. Position angle is radians counter clockwise from positive x axis to major axis, and lies in range (-pi/2, pi/2)

Raises
ValueError

If input parameters do not describe an ellipse.