-
Notifications
You must be signed in to change notification settings - Fork 5
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
Convolution #50
Comments
Possibly the ratio factor isn't giving you the impulse response you need. If you print the values which you get in this configuration then you see that only the center value is 1 and all the other values are close to 0. That's a dirac delta, which makes the convolution a noop (that is: the output equals the input). I added a little bit of code to print a table to illustrate the function values:
which then gives this:
I think the documentation is lacking in this regard and could use some improvement. Also, the usability of the API and the test coverage for vectors in real number space could be better. Unfortunately, I don't have the time and energy to continue to maintain this repo on my own. I would mark this issue as "help wanted", but don't expect that anyone will pick it up - at least not anytime soon. So, apologies if this response isn't as helpful as you might have hoped it to be. Viele Grüße nach Berlin |
If someone wants to work on this issue:
|
❤️ Besten Dank! |
Hi,
I have the following test
main.rs
which which I tried to convole the raised sin with some signal. When this is carried out, I see that apparently only the first three floats slightly changed somewhere in the lower digits.I was assuming that
convolve
behaves somewhat likenumpy
s convolve but I guess I am mistaken here. How can I convolve the entiredsp_vec
with thefunction
in the example below?Looking forward hearing from you
The text was updated successfully, but these errors were encountered: