-
Notifications
You must be signed in to change notification settings - Fork 429
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
NF - added pft min wm parameter #2821
NF - added pft min wm parameter #2821
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #2821 +/- ##
=======================================
Coverage 81.47% 81.48%
=======================================
Files 144 144
Lines 20063 20065 +2
Branches 3194 3195 +1
=======================================
+ Hits 16347 16350 +3
Misses 2907 2907
+ Partials 809 808 -1
|
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.
Overall, Looks good to me.
it would be great to update one of the tutorial to explain this parameter. It does not seems obvious to me when I read the code, but the PR description is super clear.
I do not know if you prefer to do that here or on a new PR. Otherwise, see below few comments
Hi @gabknight, Can you address the conflict issue by a rebase and address my comment above. Thanks ! |
8f868d0
to
fccf910
Compare
Hi @skoudoro, Thank you. I addressed your comments and added a few lines in the PFT example. |
All looks good. Before merging, I still need to check what is going on with The CI failed with this PR, and I do not know if it is related or not. |
Ok, I spent some times, and I can not reproduce it. Also, it does not seems related so I am going ahead and merge this PR. Thank you @gabknight! |
This is the part 1 of 2 of refactoring PR #1627, adding a new parameter to PFT.
The new optional parameter (default value is 0),
min_wm_pve_before_stopping
, improves PFT starting in voxel with non-zero GM partial volume estimate (PVE). The 'ENDPOINT' streamline status is ignored until the tracking reaches a position withWM PVE > min_wm_pve_before_stopping
. This is useful when seeding from the GM-WM interface or in subcortical GM, where tractography may stop prematurely in the GM. This parameter forces the tracking to reach the deep WM before stopping, or to reach voxels with WM PVE of 0.