.. _scil_dwi_convert_FDF: scil_dwi_convert_FDF ==================== :: usage: __main__.py [-h] [--bval BVAL] [--bvec BVEC] [--flip dimension [dimension ...]] [--swap dimension [dimension ...]] [-v [{DEBUG,INFO,WARNING,ERROR}]] [-f] in_b0_path in_dwi_path out_path Converts a Varian FDF file or directory to a nifti file. If the procpar contains diffusion information, it will be saved as bval and bvec in the same folder as the output file. ex: scil_dwi_convert_FDF semsdw/b0_folder/ semsdw/dwi_folder/ dwi.nii.gz --bval dwi.bval --bvec dwi.bvec -f positional arguments: in_b0_path Path to the b0 FDF file or folder to convert. in_dwi_path Path to the DWI FDF file or folder to convert. out_path Path to the nifti file to write on disk. options: -h, --help show this help message and exit --bval BVAL Path to the bval file to write on disk. --bvec BVEC Path to the bvec file to write on disk. --flip dimension [dimension ...] The axes you want to flip. eg: to flip the x and y axes use: x y. [None] --swap dimension [dimension ...] The axes you want to swap. eg: to swap the x and y axes use: x y. [None] -v [{DEBUG,INFO,WARNING,ERROR}] Produces verbose output depending on the provided level. Default level is warning, default when using -v is info. -f Force overwriting of the output files. 2.2.2