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

Wraparound free convolution #24

Open
roflmaostc opened this issue Oct 27, 2022 · 3 comments
Open

Wraparound free convolution #24

roflmaostc opened this issue Oct 27, 2022 · 3 comments

Comments

@roflmaostc
Copy link
Member

Just as a note and how we could implement it:

function conv(u, v, wrap_free=true)
      pad u to twice the size
      v needs to be known for the full size
      convolve it 
      take center part of original size of u

Important is, that v needs to be known in the double field size if v is not 0 anyway on the border.

@RainerHeintzmann
Copy link
Member

Yes, this would be the classical way. Yet, I wonder 1.) if we can avoid the padding. If you think about an FFT, can we not avoid the first Butterfly step or so by knowing which part is zero? 2.) if it is smart to use CZT since this can zoom. Maybe running it backwards automatically zero-pads?

@roflmaostc
Copy link
Member Author

@RainerHeintzmann
Copy link
Member

RainerHeintzmann commented Feb 8, 2023

... not worth the trouble, I guess.

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

No branches or pull requests

2 participants