bispy.utils.polarizationEllipse

bispy.utils.polarizationEllipse#

bispy.utils.polarizationEllipse(theta, chi, a=1, N=128)[source]#

Returns the trace of the polarization ellipse given its orientation and ellipticity.

Parameters:
thetafloat

Orientation of the ellipse, must be between -pi/2 and pi/2

chifloat

Ellipticity. It defines the shape of the ellipse, must be between -pi/4 and pi/4

afloat, optional

Scale parameter. Default is 1.

Nint, optional

Length of the complex trace. Default is 128.

Returns:
phiarray_type

Curvilinear absciss of the polarization ellipe

ellarray_type

Complex trace of the polarization ellipse.