code: def inverse(q):
      """Return multiplicative inverse of quaternion `q`
  
      Parameters
      ----------
      q : 4 element sequence
         w, i, j, k of quaternion
  
      Returns
      -------
      invq : array shape (4,)
         w, i, j, k of quaternion inverse
      """
      return conjugate(q) / norm(q)
  
file_path: nibabel/nibabel/quaternions.py
imports: import math
  import numpy
  from .casting import sctypes
label_desc: Use image node_id 8 for calling a global function with example usage: inverse(q) and returns: unknown