Skip to content

Conversation

@JeffFessler
Copy link
Collaborator

I would like to make some additions / improvements to the density compensation code.
I found the existing code hard to follow because it uses implicit imports.

With the help of ExplicitImports.jl, I found the origins of all of the functions being used, and then modified the code to use explicit imports. This PR will help future developers (including me) more easily find the sources.

I made a related PR at FFTW.jl so that ExplicitImports.jl gives this (sub)repo a clean pass:
JuliaMath/FFTW.jl#329

@nHackel would you be able to review?

@JeffFessler
Copy link
Collaborator Author

The windows failure is some issue with libfftw3-3.dll unrelated to this PR

@nHackel
Copy link
Collaborator

nHackel commented Dec 29, 2025

@JeffFessler, thanks for showing me ExplicitImports.jl, that's a really neat package!

I think it would be good if all the import/using statements are bundled in the main NFFTTools.jl file if possible. Otherwise, I think we'd have to consider the order of include statements in the main file when looking at the individual files

@JeffFessler
Copy link
Collaborator Author

ok, i bundled them all into NFFTTools.jl while also leaving them (inside block comments) within the individual jl files to provide some guidance to people who look at an individual file. seem ok?

@nHackel
Copy link
Collaborator

nHackel commented Dec 29, 2025

@JeffFessler yes, looks good to me, thank you!

@nHackel nHackel merged commit fd7471b into master Dec 29, 2025
5 of 6 checks passed
@JeffFessler JeffFessler deleted the jf/explicit branch December 29, 2025 17:40
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