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: MRIQC for DWI #1113

Merged
merged 13 commits into from May 24, 2023
Merged

ENH: MRIQC for DWI #1113

merged 13 commits into from May 24, 2023

Conversation

oesteban
Copy link
Member

@oesteban oesteban commented May 9, 2023

@oesteban oesteban marked this pull request as draft May 9, 2023 15:54
@oesteban
Copy link
Member Author

Interesting addition of an estimator of the number of shells (nipreps/dmriprep#64):

95497ca#diff-0afea89f34b27abdc8fb70e57182420cdfb40a7779a3ca808feebc2978e12e56R145-R158

CC/ @edickie @arokem @mckenziephagen

I have tested with my data and it seems to work pretty well. The idea is that the estimated number of shells is very very high (e.g., 8 or 9), this is probably a DSI dataset.

To test it:

import numpy as np
from mriqc.interfaces.diffusion import NumberOfShells

bvals =  np.loadtxt("path/to/dwi.bval")

print(NumberOfShells(in_data=bvals.tolist()).run().outputs.n_shells)

let me know what you think

@oesteban oesteban marked this pull request as ready for review May 23, 2023 11:58
@oesteban oesteban requested a review from edickie May 23, 2023 12:24
@oesteban oesteban merged commit 52822c0 into master May 24, 2023
16 checks passed
@oesteban oesteban deleted the enh/dwi branch May 24, 2023 11:34
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.

None yet

1 participant