code: def auc(signal, fs):
      """Computes the area under the curve of the signal computed with trapezoid rule.
  
      Feature computational cost: 1
  
      Parameters
      ----------
      signal : nd-array
          Input from which the area under the curve is computed
      fs : float
          Sampling Frequency
      Returns
      -------
      float
          The area under the curve value
  
      """
      t = compute_time(signal, fs)
  
      return np.sum(
          0.5
          * np.diff(t)
          * np.abs(np.array(signal[:-1]) + np.array(signal[1:]))
      )
  
imports: import scipy.signal
  from tsfel.feature_extraction.features_utils import *
label_desc: Use image node_id 13 for calling a global function with example usage: auc(signal, fs) and returns: np