pysolate.threshold.noise_thresholding
- noise_thresholding(Wx, noise_threshold, P)[source]
Apply hard/soft thresholding to the noise (removing noise).
- Parameters
Wx (
numpy.ndarray) – wavelet transform of shape (len(scales), len(time_series))noise_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