code: def KARCH(**kwargs):
      """KARCH class for Riemannian Center of Mass thresholder.
  
      Use the Karcher mean (Riemannian Center of Mass) to evaluate a
      non-parametric means to threshold scores generated by the
      decision_scores where outliers are set to any value beyond the
      Karcher mean + one standard deviation of the decision_scores.
  
      Parameters
      ----------
  
      ndim : int, optional (default=2)
           Number of dimensions to construct the Euclidean manifold
  
      method : {'simple', 'complex'}, optional (default='complex')
           Method for computing the Karcher mean
  
           - 'simple':  Compute the Karcher mean using the 1D array of scores
           - 'complex': Compute the Karcher mean between a 2D array dot product of the scores and the sorted scores arrays
      """
  
      from pythresh.thresholds.karch import KARCH as KARCH_thres
  
      return KARCH_thres(**kwargs)
  
label_desc: Use image node_id 16 for calling a global function with example usage: KARCH() and returns: KARCH_thres