-
Notifications
You must be signed in to change notification settings - Fork 13
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
Density compensation #66
Conversation
3ef4fd3
to
0eb2293
Compare
Good job @paquiteau |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I dont get the last point in your PR description, we technically have the same interface for density estimation?
@@ -139,7 +139,7 @@ jobs: | |||
run: | | |||
cd $RUNNER_WORKSPACE | |||
rm -rf finufft | |||
git clone https://github.com/chaithyagr/finufft --branch chaithyagr/issue306 | |||
git clone https://github.com/flatironinstitute/finufft |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there no pip install
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As the development of cufinufft is very active, I prefer to track directly the repo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We might also need to test against the latest release version as that's what users use.
By registering, I meant to have something to collect all density compensation methods and then do a get_density("cell_count")(traj, ...) |
365c4ab
to
95fc0ef
Compare
95fc0ef
to
784a45c
Compare
48e5b2d
to
50848d8
Compare
* feat: refactor density compensation to a module. * feat: add decorator to flatten trajectories. * feat: add ultra fast cell counting method. * refactor: use the flat_traj decorator. * refactor: make pipe a classmethod. * fix: special case for 2d trajectories. * feat: enforce common api for density compensation functions. * feat: move density module up. * feat(density): add test. * feat(cufinufft)!: drop pipe implementation and follow upstream. * fix: update module level for density. * fix: cleanup * feat(ci): Install most recent cufinufft * fix(ci): copy libcufinufft.so at the right place.
This refactors and augments the density compensation routines.
density_method(traj, shape, **kwargs)
.Not considered in this PR:
Footnotes
https://casadocs.readthedocs.io/en/stable/notebooks/synthesis_imaging.html#Data-Weighting ↩
https://wsclean.readthedocs.io/en/latest/weighting.html ↩