Skip to content

Conversation

@wheeheee
Copy link
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
Copy link

codecov bot commented Dec 15, 2024

Codecov Report

❌ Patch coverage is 97.81818% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 98.08%. Comparing base (7fc3842) to head (e828c21).

Files with missing lines Patch % Lines
src/convolutions.jl 97.81% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #613      +/-   ##
==========================================
- Coverage   98.13%   98.08%   -0.06%     
==========================================
  Files          19       20       +1     
  Lines        3277     3288      +11     
==========================================
+ Hits         3216     3225       +9     
- Misses         61       63       +2     

☔ View full report in Codecov by Sentry.
📢 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
Member

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

@wheeheee
Copy link
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

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
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

#615

@wheeheee wheeheee force-pushed the module_conv branch 2 times, most recently from 5ac3790 to b8c4fcd Compare January 17, 2025 08:48
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.

4 participants