AFQ.utils.models#

Module Contents#

Functions#

prepare_data(data_files, bval_files, bvec_files[, ...])

Parameters

AFQ.utils.models.prepare_data(data_files, bval_files, bvec_files, mask=None, b0_threshold=50)[source]#
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.

maskstr or Nifti1Image object
Returns
imgNifti1Image
datandarray
gtabGradientTable
maskndarray