DWISimulator ============ .. code-block:: none USAGE: DWISimulator [--returnparameterfile ] [--processinformationaddress ] [--xml] [--echo] [--debug] [--outputdwitype <4D|4DALL|EACHSHELL>] [--tau ] [--snr ] [--noisesigma ] [--bgdiffusionparams >] [--cylinderparams >] [--rvalues >] [--rfile ] [--rorientations ] [--bvalues >] [--bfile ] [--qorientations ] [--outb0 ] [--peaks ] [--peaktype ] [--outmsd ] [--outrto ] [--outpeak ] [--outeap ] [--outodf ] [--outdwi ] [--] [--version] [-h] Where: --returnparameterfile Filename in which to write simple return parameters (int, float, int-vector, etc.) as opposed to bulk return parameters (image, geometry, transform, measurement, table). --processinformationaddress Address of a structure to store process information (progress, abort, etc.). (value: 0) --xml Produce xml description of command line arguments (value: 0) --echo Echo the command line arguments (value: 0) --debug debug (value: 0) --outputdwitype <4D|4DALL|EACHSHELL> Output DWI type. 4D: only 4D dwi image. 4DALL: one 4D dwi image (with all b values), gradient file and b values in a txt file. EACHSHELL: several 4D DWI images (with different b values), gradient file and b values in a txt file (value: 4DALL) --tau Used for calculating q values from b values. The default value is set so that 4*pi^2*tau=1. (value: 0.0253303) --snr Signal-to-Noise Ratio (overrides parameter file value). Conflicts with --noisesigma. (value: 0) --noisesigma Noise level (overrides parameter file value). Conflicts with --snr. (value: 0) --bgdiffusionparams > Background diffusion parameters; override parameters in parameter file --cylinderparams > Parameters in clinder model. (Length,radius,diffusivity) (value: 5.0 ,0.005,2.02e-3) --rvalues > R values for different shells. Each shell uses the same orientations specified with --rgradients. Conflicts with --rfile. --rfile Text file that contains the R values. The number of entries should be consistent with the orientations specified with --rgradients. --rorientations Text file that contains the orientations for sampling in the R-space. --bvalues > B values for different shells. Each shell uses the same orientations specified with --qgradients. Conflicts with --bfile. --bfile Text file that contains the B values. The number of entries should be consistent with the orientations specified with --qgradient. Conflicts with --bvalues. --qorientations Text file that contains the gradient orientations of the data. --outb0 Output B0 image. --peaks Maximal number of peaks for output peak file. (value: 4) --peaktype Peak Type. XYZV: peak direction vector (x,y,z) + peak magnitude v; XYZ: peak direction vector; NXYZV: number of peaks + peak direction vectors + peak magnitudes; NXYZ: number of peaks + peak direction vectors. (value: XYZV) --outmsd Scalar image that will contain the mean squared displacement (MSD) probability map. --outrto Scalar image that will contain the return-to-origin (RTO) probability map. --outpeak Vector image that will contain the ground truch of peaks. --outeap Vector image that will contain the EAP field. --outodf Vector image that will contain the ODF field. --outdwi Vector image that will contain the DWI field. --, --ignore_rest Ignores the rest of the labeled arguments following this flag. --version Displays version information and exits. -h, --help Displays usage information and exits. (required) Text file that contains the diffusion parameters. Description: Simulate DWI data. Examples: DWISimulator dwi_config.txt --outdwi dwi.nii.gz --outodf odfTrue.nii.gz --outeap eapTrue_r0.015.nii.gz --qorientations Elec060.txt --bvalues 1000,2000,3000 --rorientations directions_t4.txt --rvalues 0.015 --noisesigma 0.0 --outb0 dwi_diagonal_b0.nii.gz --outputdwitype EACHSHELL Author(s): Pew-Thian Yap (ptyap@med.unc.edu), Jian Cheng (jian.cheng.1983@gmail.com) Acknowledgements: Thank you everyone.