pywt icon indicating copy to clipboard operation
pywt copied to clipboard

PyWavelets - Wavelet Transforms in Python

Results 123 pywt issues
Sort by recently updated
recently updated
newest added

I am using the package to perform denoising/smoothing as following: ``` def wavelet_denoising(x, wavelet='db8', level=2): coeff = pywt.wavedec(x, wavelet, mode="per") num_ = 1.0 den_ = 0.6745*3 sigma = (num_/den_) *...

question

Hi, I added a frequency2scale function as the dual of scale2frequency. In my own use of PyWavelets I find this function useful and felt it would be a nice addition.

enhancement

If I understand well, a critical aspect of using the wavelet transform is to i) choose the correct scales, ii) choose appropriate wavelets. I use this page as a reference...

enhancement

**Can anyone help me write python script to decompose an image upto 3 Low levels using haar wavelet ?**? to gain low level detail for upto 3 levels. As i...

hello, here is my code: `import pywt import numpy as np import matplotlib.pyplot as plt x = np.arange(512) y = np.sin(2*np.pi*x/32) coef, freqs=pywt.cwt(y,np.arange(1,128),'gaus1') print(freqs.shape, np.argmax(abs(coef), 0).shape) print(freqs[np.argmax(abs(coef), 0)]) plt.contourf(range(len(y)), freqs,...

I am trying to follow this image preprocessing block using `pywt` but I cannot do CLAHE on the coefficients such as `LL`, and thresholding on the other three. ![JMSS-5-59-g001](https://user-images.githubusercontent.com/8830319/159234375-a9e7932d-e6f4-4564-a7cd-6c2548ff71f5.jpg) ```...

question

Hi! Trying to install pywavelets on Nextcloud 23 Docker Alpine image with ARM and facing next issue: ``` Using pip 22.0.2 from /tmp/pip-standalone-pip-iygumj5_/__env_pip__.zip/pip (python 3.9) Ignoring numpy: markers 'python_version ==...

build

https://github.com/PyWavelets/pywt/blob/b3d9d41b5da9fb83a1a4b4c05d298c66af1981fa/setup.py#L10 Ref : https://www.python.org/dev/peps/pep-0632/#migration-advice Something like below can be used with sysconfig that is compatible. ``` >>> import os, sysconfig >>> os.path.dirname(sysconfig.get_config_h_filename()) '/usr/include/python3.8' >>> import distutils >>> distutils.sysconfig.get_python_inc() '/usr/include/python3.8 ```

task

Is there interest for adding [contourlet](http://en.wikipedia.org/wiki/Contourlet) support to the package? I was chatting with Minh Do and he's willing to provide the C source used for his Matlab [Contourlet toobox](http://minhdo.ece.illinois.edu/software/)....

enhancement

Why the return parameters of https://github.com/PyWavelets/pywt/blob/4c6e34af973badcdccba42ddbf55d850ea014d58/pywt/_multidim.py#L156-L160 and https://pywavelets.readthedocs.io/en/v1.1.1/ are different