PyWavelets / pywt

PyWavelets - Wavelet Transforms in Python
http://pywavelets.readthedocs.org
MIT License
1.97k stars 460 forks source link

Adding a new wavelet/ issues with using a development fork #694

Closed lxpaul closed 8 months ago

lxpaul commented 8 months ago

Hello,

first off: thank you for this helpful package.

I'd like to use a continuous wavelet that isn't (yet?) implemented in PyWavelets. The poisson kernel wavelet, which is quite simple and somewhat similar to the mexican hat one.

To do that I created a fork and made the additions that I believe are needed on the in the following files:

(Basically everywhere that the mexican hat one was mentioned, I added the equivalent for the poisson kernel.) Did I miss any?

I now have a lot of trouble using my own fork of pywavelets as a package.

I tried importing it from my github with pip install -e git+git://github.com/lxpaul/pywt#egg=pywavelets But I can't manage to import it afterwards. (I tried a lot of things but I must admit I am still very new to source control and even more to package development) Any clues or help?

lxpaul commented 8 months ago

I guess the issue came from still using Python 3.11.

Using Python 3.12 solved it.