code: def all_tensor_evecs(e0):
      """Given the principle tensor axis, return the array of all
      eigenvectors column-wise (or, the rotation matrix that orientates the
      tensor).
  
      Parameters
      ----------
      e0 : (3,) ndarray
          Principle tensor axis.
  
      Returns
      -------
      evecs : (3,3) ndarray
          Tensor eigenvectors, arranged column-wise.
  
      """
      axes = np.eye(3)
      mat = vec2vec_rotmat(axes[0], e0)
      e1 = np.dot(mat, axes[1])
      e2 = np.dot(mat, axes[2])
      # Return the eigenvectors column-wise:
      return np.array([e0, e1, e2]).T
  
imports: import numpy
  from numpy import dot
  from dipy.core.geometry import sphere2cart
  from dipy.core.geometry import vec2vec_rotmat
  from dipy.core.gradients import GradientTable
  from dipy.reconst.utils import dki_design_matrix
  from scipy.special import jn
label_desc: Use image node_id 16 for calling a global function with example usage: all_tensor_evecs(e0) and returns: np