code: def calc_ecdf(signal):
      """Computes the ECDF of the signal.
  
      Parameters
      ----------
      signal : nd-array
          Input from which ECDF is computed
      Returns
      -------
      nd-array
        Sorted signal and computed ECDF.
  
      """
      return np.sort(signal), np.arange(1, len(signal) + 1) / len(
          signal
      )
  
file_path: tsfel/tsfel/feature_extraction/features_utils.py
imports: import scipy
  import numpy
label_desc: Use image node_id 12 for calling a global function with example usage: calc_ecdf(signal) and returns: np,  unknown