code: def inverse_cwt(Wavelet_lf0, scales):
      b = (np.arange(0, len(scales))[None, None, :] + 1 + 2.5) ** (-2.5)
      lf0_rec = Wavelet_lf0 * b
      lf0_rec_sum = lf0_rec.sum(-1)
      lf0_rec_sum = (
          lf0_rec_sum - lf0_rec_sum.mean(-1, keepdims=True)
      ) / lf0_rec_sum.std(-1, keepdims=True)
      return lf0_rec_sum
  
file_path: PaddleHub/modules/audio/svs/diffsinger/utils/cwt.py
imports: import librosa
  import numpy
  from pycwt import wavelet
  from scipy.interpolate import interp1d
label_desc: Use image node_id 8 for calling a global function with example usage: inverse_cwt(Wavelet_lf0, scales) and returns: lf0_rec_sum