code: def quaternion(self):
          
          q_xyzw = transformations.quaternion_from_matrix(self.matrix)
          q_wxyz = np.roll(q_xyzw, 1)
          return q_wxyz
docs: :obj:`numpy.ndarray` of float: A quaternion vector in wxyz layout.