deprecate scipy.signal wavelets

Evgeni Burovski <[email protected]> Wed, 4 Oct 2023 15:39:32 +0300
Newsgroups gmane.comp.python.scientific.devel
Message-ID <CAMRo0iuhm5jKWA+SYRnsWcJ9RhPzgK=PZPb=daS+WXRh=c2+Mg@mail.gmail.com>
Hi,

Scipy roadmap (https://docs.scipy.org/doc/scipy/dev/roadmap-detailed.html)
has an action item to deal with wavelets in the scipy.signal
namespace:

> Wavelets: what’s there now doesn’t make much sense. Continuous wavelets only at the moment - decide whether to completely rewrite or remove them. Discrete wavelet transforms are out of scope (PyWavelets does a good job for those).

The item itself has been on the roadmap since forever (tm), and now
here's a pull request to deprecate them for SciPy 1.12:
https://github.com/scipy/scipy/pull/19340

Why deprecate them? Rewriting does not feel like a reasonable time
investment, merging PyWavelets into SciPy is definitely a separate
topic (if at all, pywavelets look healthy from a cursory look).
For users --- if there are users --- a mitigation for our removal is
very easy since
the whole `_wavelets.py` module is less than 600 LOC of pure python
including docstrings, so it's easy to just copy-paste relevant bits.
On the other hand, the module does not need much maintenance, so we
can instead keep it indefinitely and remove the action item from the
roadmap.

Thoughts? Objections? Are you using scipy.signal wavelets? Will you
miss them if they are gone?

Cheers,
Evgeni
_______________________________________________
SciPy-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/scipy-dev.python.org/
Member address: [email protected]