code: def _SP_Summaries_welch_rect_centroid(X, X_fft):
      # Centroid of the Fourier power spectrum.
      return _summaries_welch_rect(X, True, X_fft)
  
imports: import math
  import numpy
  from sktime.utils.numba.njit import njit
label_desc: Use image node_id 23 for calling a global function with example usage: _SP_Summaries_welch_rect_centroid(X, X_fft) and returns: _summaries_welch_rect