dwi2fod csd dwi.mif response.txt - | testing_diff_image - dwi2fod/out.mif -voxel 1e-5
dwi2fod csd dwi.mif -mask mask.mif response.txt - | testing_diff_image - dwi2fod/out_mask.mif -voxel 1e-5
dwi2fod csd dwi.mif response.txt -lmax 12 - | testing_diff_image - dwi2fod/out_lmax12.mif -voxel 1e-5
dwi2fod msmt_csd dwi2fod/msmt/dwi.mif dwi2fod/msmt/wm.txt tmp_wm.mif dwi2fod/msmt/gm.txt tmp_gm.mif dwi2fod/msmt/csf.txt tmp_csf.mif && testing_diff_image tmp_wm.mif dwi2fod/msmt/wm.mif -abs 1e-5 && testing_diff_image tmp_gm.mif dwi2fod/msmt/gm.mif -abs 1e-5 && testing_diff_image tmp_csf.mif dwi2fod/msmt/csf.mif -abs 1e-5
dwi2fod msmt_csd dwi2fod/msmt/dwi.mif -mask dwi2fod/msmt/mask.mif dwi2fod/msmt/wm.txt tmp_wm_m.mif dwi2fod/msmt/gm.txt tmp_gm_m.mif dwi2fod/msmt/csf.txt tmp_csf_m.mif && testing_diff_image tmp_wm_m.mif dwi2fod/msmt/wm_masked.mif -abs 1e-5 && testing_diff_image tmp_gm_m.mif dwi2fod/msmt/gm_masked.mif -abs 1e-5 && testing_diff_image tmp_csf_m.mif dwi2fod/msmt/csf_masked.mif -abs 1e-5
