-
Notifications
You must be signed in to change notification settings - Fork 62
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
[ENH] Add an option to cut streamlines #1119
base: master
Are you sure you want to change the base?
[ENH] Add an option to cut streamlines #1119
Conversation
Hello @arnaudbore, Thank you for updating !
Comment last updated at 2025-01-17 12:18:59 UTC |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1119 +/- ##
==========================================
- Coverage 69.56% 69.53% -0.04%
==========================================
Files 448 448
Lines 24078 24103 +25
Branches 3290 3298 +8
==========================================
+ Hits 16751 16761 +10
- Misses 5934 5946 +12
- Partials 1393 1396 +3
|
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.
LGTM, however I think some unit tests would be nice to ensure no regression happens when we inevitably revisit this script later on.
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.
Would it be possible to make a unit with synthetic data A 3x3x3 grid with a single central voxel as mask.
And try a straight line going through, a straight going in and out and in again, starting in going out, fully in, fully out.
We change/broke/fix this like 3 times and 2 years.
Juste the easiest case
Quick description
When you want to cut streamlines between two regions from a label file, you now have the possibility to either:
I checked with MI-Brain and I'm not sure it works, I can filter the no_point_in_roi.trk with the mask :|
Here are some data.tar.gz with the command line:
...
Type of change
Check the relevant options.
Provide data, screenshots, command line to test (if relevant)
...
Checklist