Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: N-dimensional discrete wavelet transforms #583

Merged
merged 4 commits into from
Jun 17, 2024

Conversation

solldavid
Copy link
Contributor

This PR adds support for N-dimensional discrete wavelet transforms via a new linear operator DWTND.

This is a super minor addition building upon what is already implemented with the DWT and DWT2D operators. This simply generalizes those operators to N dimensions, something that we saw need for in a recent application of ours.

Copy link
Collaborator

@mrava87 mrava87 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@solldavid this is a great additon!

I just have a few minor comments, after you address them I will be happy to merge the PR

examples/plot_wavelet.py Show resolved Hide resolved
examples/plot_wavelet.py Show resolved Hide resolved
pylops/signalprocessing/dwtnd.py Outdated Show resolved Hide resolved
pylops/signalprocessing/dwtnd.py Outdated Show resolved Hide resolved
pytests/test_dwts.py Show resolved Hide resolved
pytests/test_dwts.py Outdated Show resolved Hide resolved
@mrava87
Copy link
Collaborator

mrava87 commented Jun 16, 2024

PS: whilst making the changes, please also add your name at the bottom of the README file and here https://github.com/PyLops/pylops/blob/dev/docs/source/credits.rst

@solldavid
Copy link
Contributor Author

Thanks a lot for the prompt review @mrava87! I have implemented your comments.

@mrava87
Copy link
Collaborator

mrava87 commented Jun 17, 2024

Great, thanks a lot for this contribution :) I merge this PR now

@mrava87 mrava87 merged commit 4860e7a into PyLops:dev Jun 17, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants