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","."]
code: def __init__(self, w=1, x=0, y=0, z=0, normalize=True):
      self.w = float(w)
      self.x, self.y, self.z = float(x), float(y), float(z)
      if normalize:
          self._normalize()
  
imports: import numpy
label_desc: Use image node_id 1 to create a new Quaternion object from inherited base classes: object with example: obj = Quaternion(w, x, y, z, normalize)