Toolboxes
Wavelet Toolbox → PyWavelets (pywt)
Auto-convertedDiscrete and continuous wavelet transforms, multilevel decomposition, and thresholding. Maps directly to PyWavelets.
Install
pip install PyWavelets| MATLAB | Python | Note |
|---|---|---|
| wavedec(x, n, wname) | pywt.wavedec(x, wname, level=n) | Multilevel 1-D decomposition |
| waverec(c, wname) | pywt.waverec(c, wname) | Reconstruction from coefficients |
| dwt(x, wname) | pywt.dwt(x, wname) | Single-level DWT |
| idwt(cA, cD, wname) | pywt.idwt(cA, cD, wname) | Inverse single-level DWT |
| dwt2(X, wname) | pywt.dwt2(X, wname) | 2-D DWT |
| idwt2(cA, cH, cV, cD, wname) | pywt.idwt2((cA, (cH, cV, cD)), wname) | Inverse 2-D DWT |
| cwt(x, scales, wname) | pywt.cwt(x, scales, wname) | Continuous wavelet transform |
| wthresh(x, sorh, t) | pywt.threshold(x, t, mode='soft') | sorh: 's' → soft, 'h' → hard |
The converter automatically detects Wavelet functions and adds the correct imports.
Try the converter