dmriprep.workflows.dwi.eddy module¶
Eddy-currents and head-motion estimation/correction.
-
dmriprep.workflows.dwi.eddy.
gen_eddy_textfiles
(in_file, in_meta, newpath=None)¶ Generate the acquisition-parameters and index files for FSL
eddy_openmp
.Examples
>>> out_acqparams, out_index = gen_eddy_textfiles( ... "dwi.nii.gz", ... {"PhaseEncodingDirection": "j-", "TotalReadoutTime": 0.005}, ... ) >>> Path(out_acqparams).read_text() '0 -1 0 0.0050000'
>>> Path(out_index).read_text() '1 1 1 1 1 1'