Skip to content

Move convolution code to Convolutions.jl submodule#613

Open
wheeheee wants to merge 7 commits into
masterfrom
module_conv
Open

Move convolution code to Convolutions.jl submodule#613
wheeheee wants to merge 7 commits into
masterfrom
module_conv

Conversation

@wheeheee

Copy link
Copy Markdown
Member

Not sure if xcorr belongs in there, and currently the deconv function calls filt, so that can't be moved into convolutions.jl as-is either.

@codecov

codecov Bot commented Dec 15, 2024

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 97.81818% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 97.90%. Comparing base (1052280) to head (47cb023).

Files with missing lines Patch % Lines
src/convolutions.jl 97.81% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #613      +/-   ##
==========================================
- Coverage   97.95%   97.90%   -0.06%     
==========================================
  Files          19       20       +1     
  Lines        3325     3336      +11     
==========================================
+ Hits         3257     3266       +9     
- Misses         68       70       +2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@martinholters

Copy link
Copy Markdown
Member

Not that I'm necessarily opposed to this, but what's the benefit?

@wheeheee

Copy link
Copy Markdown
Member Author

In #598 @dlfivefifty asked if convolutions could be moved out into a separate package. This PR would make it easier to do that, if the decision is made. One benefit would be that those who use only conv would have the choice to not load everything else here if they don't want to, and therefore be less affected by breaking releases in the rest of the package.

@dlfivefifty

Copy link
Copy Markdown

I wonder about whether FFTW.jl should be a hard dependency. Alternatively, a simpler package ConvolutionsBase.jl which only defines conv and conv! without implementing them might be a better solution.

For example, in InfiniteArrays.jl overloads of conv I don't actually need the fft at all:

https://github.com/JuliaArrays/InfiniteArrays.jl/blob/master/ext/InfiniteArraysDSPExt.jl

@martinholters

Copy link
Copy Markdown
Member

Right, if we want to move the convolutions stuff to a seperate repo, there are a bunch of questions to answer. But I don't think this PR or #598 are the best places to discuss that. Maybe open a dedicated issue or discussion?

WRT this PR, I think we should wait until that discussion has settled before actually setting into anything in motion. But as a draft to try things out, it might indeed be helpful.

@dlfivefifty

Copy link
Copy Markdown

#615

@wheeheee wheeheee marked this pull request as ready for review July 15, 2026 10:19
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.

3 participants