code: def _get_eigenvals(X):
      """Private function to compute all eigen values."""
      n = X.shape[-1]
      return np.linalg.eigvals(X.reshape((-1, n, n)))
  
file_path: pyRiemann/pyriemann/utils/test.py
imports: import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: _get_eigenvals(X) and returns: np