AFQ.models.fwdti#

Module Contents#

Functions#

fit_fwdti(data_files, bval_files, bvec_files[, mask, ...])

Fit the free water DTI model [1]_, save files with derived maps

AFQ.models.fwdti.fit_fwdti(data_files, bval_files, bvec_files, mask=None, out_dir=None, b0_threshold=50)[source]#

Fit the free water DTI model [1]_, save files with derived maps

Parameters
data_filesstr or list

Files containing DWI data. If this is a str, that’s the full path to a single file. If it’s a list, each entry is a full path.

bval_filesstr or list

Equivalent to data_files.

bvec_filesstr or list

Equivalent to data_files.

maskndarray, optional

Binary mask, set to True or 1 in voxels to be processed. Default: Process all voxels.

out_dirstr, optional

A full path to a directory to store the maps that get computed. Default: maps get stored in the same directory as the last DWI file in data_files.

b0_thresholdfloat
Returns
file_pathsa dict with the derived maps that were computed and full-paths
to the files containing these maps.