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: Returns q.conjugate()/q.norm()**2
  
  So if the quaternion is unit length, it is the same
  as the conjugate.
docstr_tok: ["Returns","q.conjugate","(",")","\/q.norm","(",")","*","*","2","So","if","the","quaternion","is","unit","length",",","it","is","the","same","as","the","conjugate","."]
code: def inverse(self):
      """Returns q.conjugate()/q.norm()**2
  
      So if the quaternion is unit length, it is the same
      as the conjugate.
      """
      new = self.conjugate()
      tmp = self.norm() ** 2
      new.w /= tmp
      new.x /= tmp
      new.y /= tmp
      new.z /= tmp
      return new
  
imports: import numpy
label_desc: Use image node_id 8 for calling the Quaternion obj's underlying member method code with example usage: obj.inverse() and returns: new