QMRITools`GeneralTools`
QMRITools`GeneralTools`

RotationMatrixToQuaternion

RotationMatrixToQuaternion[R]

converts rotation matrix to quarternions {a, b,c,d}.