class_docstr: Quaternion(w=1, x=0, y=0, z=0, normalize=True)
  
  A quaternion is a mathematically convenient way to
  describe rotations.
class_docstr_tok: ["Quaternion","(","w=1",",","x=0",",","y=0",",","z=0",",","normalize=True",")","A","quaternion","is","a","mathematically","convenient","way","to","describe","rotations","."]
docstr: Add quaternions.
docstr_tok: ["Add","quaternions","."]
code: def __add__(self, q):
      """Add quaternions."""
      new = self.copy()
      new.w += q.w
      new.x += q.x
      new.y += q.y
      new.z += q.z
      return new
  
imports: import numpy
label_desc: Use image node_id 11 for calling the Quaternion obj's underlying member method code with example usage: obj.__add__(q) and returns: new