docs: def multiscale_permutation_entropy(time_series, m, delay, scale):
      """Calculate the Multiscale Permutation Entropy
  
      Args:
          time_series: Time series for analysis
          m: Order of permutation entropy
          delay: Time delay
          scale: Scale factor
  
      Returns:
          Vector containing Multiscale Permutation Entropy
  
      Reference:
          [1] Francesco Carlo Morabito et al. Multivariate Multi-Scale Permutation Entropy for
              Complexity Analysis of Alzheimer’s Disease EEG. www.mdpi.com/1099-4300/14/7/1186
          [2] http://www.mathworks.com/matlabcentral/fileexchange/37288-multiscale-permutation-entropy-mpe/content/MPerm.m
      """
      mspe = []
      for i in range(scale):
          coarse_time_series = util_granulate_time_series(time_series, i + 1)
          pe = permutation_entropy(coarse_time_series, order=m, delay=delay)
          mspe.append(pe)
      return mspe