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

Bug in sinc filter #21

Open
Parth92 opened this issue Jan 22, 2025 · 0 comments
Open

Bug in sinc filter #21

Parth92 opened this issue Jan 22, 2025 · 0 comments

Comments

@Parth92
Copy link

Parth92 commented Jan 22, 2025

There appears to be a small bug in the sinc filter. According to the reference the code refers to, the last term in this line should be 0.08 * np.cos((4 * np.pi * i) / M).

For kernel_size = 5, cutoff = 1/30, the difference is not too big though.
Image

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

1 participant