code: def _project(X, U):
      """
      Project U on the tangent space of orthogonal matrices with base point X.
      """
  
      return X @ ((X.T @ U) - (X.T @ U).T) / 2
  
file_path: pyRiemann/pyriemann/transfer/_rotate.py
imports: import warnings
  import numpy
  from ..utils.distance import distance
  from ..utils.utils import check_weights
label_desc: Use image node_id 1 for calling a global function with example usage: _project(X, U) and returns: unknown