bispy.utils.StokesNorm

bispy.utils.StokesNorm(q)[source]

Return the Stokes-Poincaré norm of a quaternion.

The Stokes-Poincaré norm is defined by:

StokesNorm(q) = -q*j*np.conj(q)

with j = quaternion(0, 0, 1, 0).

Parameters:
qquaternion numpy array
Returns:
q*j*np.conj(q)Stokes-Poincaré norm of q

See also

quat2euler