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: Make the quaternion unit length.
docstr_tok: ["Make","the","quaternion","unit","length","."]
code: def _normalize(self):
      """Make the quaternion unit length."""
      # Get length
      L = self.norm()
      if not L:
          raise ValueError("Quaternion cannot have 0-length.")
      # Correct
      self.w /= L
      self.x /= L
      self.y /= L
      self.z /= L
  
imports: import numpy
label_desc: Use image node_id 5 for calling the Quaternion obj's underlying member method code with example usage: obj._normalize() without return types