Adding a new wavelet/ issues with using a development fork
lxpaul opened this issue · 1 comments
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:
- pywt/_extensions/_cwt.pyx
- pywt/_extensions/c/cwt.template.c
- pywt/_extensions/c/cwt.template.h
- pywt/_extensions/c/wavelets.c
- pywt/_extensions/c/wavelets.h
- pywt/_extensions/c_wt.pxd
- pywt/_extensions/wavelets_list.pxi
(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?
I guess the issue came from still using Python 3.11.
Using Python 3.12 solved it.