code: def q(self, q):
          
          self._q = np.array(q)
  
          # mark other representations as outdated, will get generated on next
          # read
          self._euler = None
          self._dcm = None
docs: Set the quaternion
          :param q: list or array of quaternion values [w, x, y, z]