dipy_fit_dsid#
Synopsis#
Diffusion Spectrum Imaging (DSI) reconstruction workflow.
In DSI, the diffusion signal is sampled on a Cartesian grid in q-space. When using remove_convolution=True, the convolution on the DSI propagator that is caused by the truncation of the q-space in the DSI sampling is removed.
Usage#
dipy_fit_dsid [OPTIONS] input_files bvalues_files bvectors_files mask_files
Input Parameters#
input_filesPath to the input volumes. This path may contain wildcards to process multiple inputs at once.
bvalues_filesPath to the bvalues files. This path may contain wildcards to use multiple bvalues files at once.
bvectors_filesPath to the bvectors files. This path may contain wildcards to use multiple bvectors files at once.
mask_filesPath to the input masks. This path may contain wildcards to use multiple masks at once.
General Options#
--qgrid_sizehas to be an odd number. Sets the size of the q_space grid. For example if qgrid_size is 17 then the shape of the grid will be
(17, 17, 17). (default: 17)--r_startODF is sampled radially in the PDF. This parameters shows where the sampling should start. (default: 2.1)
--r_endRadial endpoint of ODF sampling (default: 6.0)
--r_stepStep size of the ODf sampling from r_start to r_end (default: 0.2)
--filter_widthStrength of the hanning filter (default: 32)
--remove_convolutionWhether to remove the convolution on the DSI propagator that is caused by the truncation of the q-space in the DSI sampling. (default: False)
--normalize_peaksWhether to normalize the peaks (default: False)
--sphere_nameSphere name on which to reconstruct the fODFs. (default: None)
--relative_peak_thresholdOnly return peaks greater than
relative_peak_threshold * mwhere m is the largest peak. (default: 0.5)--min_separation_angleThe minimum distance between directions. If two peaks are too close only the larger of the two is returned. (default: 25)
--sh_order_maxSpherical harmonics order (l) used in the DKI fit. (default: 8)
--extract_pam_valuesSave or not to save pam volumes as single nifti files. (default: False)
--parallelWhether to use parallelization in peak-finding during the calibration procedure. (default: False)
--num_processesIf parallel is True, the number of subprocesses to use (default multiprocessing.cpu_count()). If < 0 the maximal number of cores minus
num_processes + 1is used (enter -1 to use as many cores as possible). 0 raises an error. (default: None)
Output Options#
--out_dirOutput directory. (default: current directory)
--out_pamName of the peaks volume to be saved. (default: peaks.pam5)
--out_shmName of the spherical harmonics volume to be saved. (default: shm.nii.gz)
--out_peaks_dirName of the peaks directions volume to be saved. (default: peaks_dirs.nii.gz)
--out_peaks_valuesName of the peaks values volume to be saved. (default: peaks_values.nii.gz)
--out_peaks_indicesName of the peaks indices volume to be saved. (default: peaks_indices.nii.gz)
--out_gfaName of the generalized FA volume to be saved. (default: gfa.nii.gz)
--out_sphereSphere vertices name to be saved. (default: sphere.txt)
--out_bName of the B Matrix to be saved. (default: B.nii.gz)
--out_qaName of the Quantitative Anisotropy to be saved. (default: qa.nii.gz)
References#
Garyfallidis, E., M. Brett, B. Amirbekian, A. Rokem, S. Van Der Walt, M. Descoteaux, and I. Nimmo-Smith. Dipy, a library for the analysis of diffusion MRI data. Frontiers in Neuroinformatics, 1-18, 2014.