code: def stft_norm1(X):
      """Compute L1 norm of STFT transform.
  
      It takes into account that stft only return positive frequencies.
  
      Parameters
      ----------
      X : 3D complex array
          The STFT transforms
  
      Returns
      -------
      norms : array
          The L1 norm of every row of X.
      """
      X_abs = np.abs(X)
      # compute all L1 coefs and remove first and last frequency once.
      norms = (
          2.0 * X_abs.sum(axis=(1, 2))
          - np.sum(X_abs[:, 0, :], axis=1)
          - np.sum(X_abs[:, -1, :], axis=1)
      )
      return norms
  
file_path: mne-python/mne/time_frequency/_stft.py
imports: from math import ceil
  import numpy
  from scipy.fft import irfft, rfft, rfftfreq
  from ..utils import logger, verbose
label_desc: Use image node_id 5 for calling a global function with example usage: stft_norm1(X) and returns: norms