bids_bep16_conv.processing.dipy_dti

bids_bep16_conv.processing.dipy_dti(input_files, bval, bvec, mask, outdir)[source]

Setup DIPY dipy_fit_DTI command.

Parameters:
  • input_files (str) – Path to dwi image.

  • bval (str) – Path to bval image.

  • bvec (str) – Path to bvec image.

  • mask (str) – Path to mask image.

  • outdir (str) – Output path.

Return type:

Output files generated by dipy_fit_DTI in specified output directory .

Examples

Run dipy_fit_DTI on local data and save it to the Desktop.

>>> dipy_dti('sub-01_desc-preproc_dwi.nii.gz',
             'sub-01_desc-preproc_dwi.bval',
             'sub-01_desc-preproc_dwi.bvec',
             'sub-01_desc-brain_mask.nii.gz',
             '/home/user/Desktop)