pysolate.threshold.signal_thresholding

signal_thresholding(Wx, signal_threshold, P)[source]

Apply hard/soft thresholding to the signal (removing signal).

Parameters
  • Wx (numpy.ndarray) – wavelet transform of shape (len(scales), len(time_series))

  • signal_threshold (str) – “soft” or “hard” noise thresholding.

  • P (numpy.ndarray) – threshold of the noise signal.

Return Wx_new

the new wavelet transform.

Rtype Wx_new

numpy.ndarray