Open hengley opened 5 years ago
Pywt.upcoef can implement a layer of decomposition and reconstruction of wavelets in Python, but after multi-layer decomposition, it is wrong to reconstruct data.
try this
waveletname = 'db4' dwt_coeffs = pywt.wavedec(signal, waveletname, level=5)
y_5level_idwt = \ pywt.upcoef('a', dwt_coeffs[0][:], waveletname, level = 5, take = len(signal))\
Pywt.upcoef can implement a layer of decomposition and reconstruction of wavelets in Python, but after multi-layer decomposition, it is wrong to reconstruct data.