Shepperd’s Method#
- ahrs.common.orientation.shepperd(dcm: ndarray) ndarray #
Quaternion from a Direction Cosine Matrix with Shepperd’s method [Shepperd].
- Parameters:
dcm (numpy.ndarray) – 3-by-3 Direction Cosine Matrix.
- Returns:
q – Quaternion.
- Return type:
numpy.ndarray