dipy_fit_mapmri#
Synopsis#
Workflow for fitting the MAPMRI model (with optional Laplacian regularization). Generates rtop, lapnorm, msd, qiv, rtap, rtpp, non-gaussian (ng), parallel ng, perpendicular ng saved in a nifti format in input files provided by data_files and saves the nifti files to an output directory specified by out_dir.
In order for the MAPMRI workflow to work in the way intended either the Laplacian or positivity or both must be set to True.
Usage#
dipy_fit_mapmri [OPTIONS] data_files bvals_files bvecs_files small_delta big_delta
Input Parameters#
data_filesPath to the input volume.
bvals_filesPath to the bval files.
bvecs_filesPath to the bvec files.
small_deltaSmall delta value used in generation of gradient table of provided bval and bvec.
big_deltaBig delta value used in generation of gradient table of provided bval and bvec.
General Options#
--b0_thresholdThreshold used to find b0 volumes.
--laplacianRegularize using the Laplacian of the MAP-MRI basis.
--positivityConstrain the propagator to be positive.
--bval_thresholdSets the b-value threshold to be used in the scale factor estimation. In order for the estimated non-Gaussianity to have meaning this value should set to a lower value (b<2000 s/mm^2) such that the scale factors are estimated on signal points that reasonably represent the spins at Gaussian diffusion.
--save_metricsList of metrics to save. Possible values: rtop, laplacian_signal, msd, qiv, rtap, rtpp, ng, perng, parng
--laplacian_weightingWeighting value used in fitting the MAPMRI model in the Laplacian and both model types.
--radial_orderEven value used to set the order of the basis.
--sphere_nameSphere name on which to reconstruct the fODFs.
--relative_peak_thresholdOnly return peaks greater than
relative_peak_threshold * mwhere m is the largest peak.--min_separation_angleThe minimum distance between directions. If two peaks are too close only the larger of the two is returned.
--npeaksMaximum number of peaks found.
--normalize_peaksIf true, all peak values are calculated relative to max(odf).
--extract_pam_valuesSave or not to save pam volumes as single nifti files.
Output Options#
--out_dirOutput directory. (default: current directory)
--out_rtopName of the rtop to be saved.
--out_lapnormName of the norm of Laplacian signal to be saved.
--out_msdName of the msd to be saved.
--out_qivName of the qiv to be saved.
--out_rtapName of the rtap to be saved.
--out_rtppName of the rtpp to be saved.
--out_ngName of the Non-Gaussianity to be saved.
--out_perngName of the Non-Gaussianity perpendicular to be saved.
--out_parngName of the Non-Gaussianity parallel to be saved.
--out_pamName of the peaks volume to be saved.
--out_peaks_dirName of the peaks directions volume to be saved.
--out_peaks_valuesName of the peaks values volume to be saved.
--out_peaks_indicesName of the peaks indices volume to be saved.
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.