sep.ellipse_coeffs

sep.ellipse_coeffs(a, b, theta)

Convert from ellipse axes and angle to coefficient representation.

Parameters:
a, b, theta : array_like

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]

Returns:
cxx, cyy, cxy : ndarray

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