nipreps / eddymotion

Open-source eddy-current and head-motion correction for dMRI.
https://nipreps.org/eddymotion
Apache License 2.0
13 stars 16 forks source link

Allow initializing the DWI object with "bvals"/"bvecs" #170

Closed arokem closed 4 months ago

arokem commented 5 months ago

Right now, we require a RAS + b file:

https://github.com/nipreps/eddymotion/blob/b1f70cc67417ac2fab43ccf5196b9b26397b2326/src/eddymotion/data/dmri.py#L59

Would be good to allow the FSL format for bval/bvec files as well.

oesteban commented 4 months ago

There is a commodity load() function to do that:

https://github.com/nipreps/eddymotion/blob/b22efd5e6f9ae6da166dc70409f17dde84359ed0/src/eddymotion/data/dmri.py#L187-L244

Would that resolve the question completely or you would like to see something else implemented?

arokem commented 4 months ago

Yes - I think that resolves my question completely. Closing.