bispy.utils.polarizationAxis#
- bispy.utils.polarizationAxis(theta, chi)[source]#
Polarization axis of the ellipse of orientation theta and ellipticity chi.
The polarization axis is the unit pure quaternion:
mu = i sin(2 chi) + j cos(2 theta) cos(2 chi) + k sin(2 theta) cos(2 chi)
that is i S3 + j S1 + k S2 with normalized Stokes parameters: the point of the Poincaré sphere at longitude 2 theta and latitude 2 chi. It is the axis expected by spectral.quaternionPSD and by the filters of filters.
- Parameters:
- thetafloat or array_type
Orientation of the ellipse, between -pi/2 and pi/2
- chifloat or array_type
Ellipticity, between -pi/4 and pi/4
- Returns:
- muquaternion or quaternion array
unit pure quaternion(s), broadcast from theta and chi
See also