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
Transform points with DiffeormorphicMap #2369
Conversation
Hello @skoudoro, Thank you for updating ! Cheers ! There are no PEP8 issues in this Pull Request. 🍻 Comment last updated at 2021-10-31 18:54:02 UTC |
I think that we should go ahead and merge this, adding a documentation example on a separate PR. |
b5ace72
to
0df540c
Compare
thank you @arokem. rebase done. I will try to write a tutorial this week. If I don't succeed, I will create an issue as a reminder and you will be able to merge this. |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #2369 +/- ##
==========================================
- Coverage 84.24% 84.19% -0.06%
==========================================
Files 130 130
Lines 17919 17948 +29
Branches 3053 3059 +6
==========================================
+ Hits 15096 15111 +15
- Misses 2106 2118 +12
- Partials 717 719 +2
|
OK - looks like everything is passing now. Looks like some of the new code is not currently tested. Do you want to use That could bring us a step closer towards unifying the code base across these two functions. |
How's this going? Looks like maybe ready to merge, happy to help write an example/documentation if that's of any use. |
Hi @alexrockhill, Thank you for pinging me on this PR. The last step is to compare with Concerning tutorials and documentation, it can be done on another PR. Thank you for proposing your help and feel free to do a PR over my branch in my fork. |
Hello @skoudoro , is there any plan for merging this? |
0df540c
to
cd696ba
Compare
Hi @alexturcea, I will have time this month to finalize this PR. So it will be on the release this month. Hi @arokem, I compared if all CI's come back green, this is ready to go. |
PS: I will update and create a tutorial on a new PR |
I will wait until wednesday, and if no news, I will go ahead and merge this PR, is that ok @arokem and @Garyfallidis? |
Yeah: 👍 from my end. |
Nice! |
This PR is just a follow-up and close #936. Many people ask for this feature and we never merged it.
it adds 2 functions to apply warp fields on point:
transform_points
andtransform_points_inverse
. After registering two images, you can use this function to transform your streamlines/points.You might be interested @vigji @wjy73 @dPys. Feel free to test this PR and give feedback/review. Thanks in advance!
fixes #2327
fixes #2313
TODO
deform_streamlines
indipy.tracking.streamline
before merging. Performance should be better. Results should be similar.