Skip to content
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(dMRI): Deal gracefully with small CC masks #1311

Merged
merged 1 commit into from
Aug 18, 2024
Merged

Conversation

oesteban
Copy link
Member

The diffusion pipeline's calculation of IQMs choked if the cc mask was too small. Added a counter-measure and issue a warning in this case.

@oesteban oesteban force-pushed the fix/small-cc-mask branch from 12af5e5 to 90e97b2 Compare July 30, 2024 10:32
@arokem
Copy link
Collaborator

arokem commented Jul 30, 2024

Do you have an example dataset where this happened? Maybe in these cases we could do a second pass with a different set of parameters?

@oesteban
Copy link
Member Author

Yes, I have a dataset with a failed DWI run that lasted for just a few initial directions and then was killed. I believe we discussed spatial normalization into MNI -- we could bring the mask from there instead, WDYT?

@arokem
Copy link
Collaborator

arokem commented Jul 30, 2024

I think that's a good idea! In that case, I might check for outliers in terms of the PDD/FA and exclude those.

@oesteban oesteban merged commit 484da02 into master Aug 18, 2024
13 of 15 checks passed
@oesteban oesteban deleted the fix/small-cc-mask branch August 18, 2024 16:14
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.

2 participants