% Mon June 4 11:03:46 AM -- INTERPOLATION
studydir = 'C:/Users/dvaryvod/Desktop/subject_data/';
subject_list = {'1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19'};
preprocess_options.format = 'nifti';
preprocess_options.fn_nii = 'filename.nii';
fn_img_prefix = 'rdki';
bval = [0 998 2994];
ndir = 30;
idx_1st_img = 1;
Kmin  = 0;
NKmax = 3;
Kmin_final = 0;
Kmax_final = 3;
T = 50;
find_brain_mask_flag = 1;
dki_method.no_tensor = 0;
dki_method.linear_weighting = 1;
dki_method.linear_constrained = 1;
dki_method.nonlinear = 0;
dki_method.linear_violations = 1;
dki_method.robust_option = 0;
dki_method.noise_tolerance = 0.09;
dti_method.dti_flag = 0;
dti_method.dti_only = 0;
dti_method.no_tensor = 0;
dti_method.linear_weighting = 1;
dti_method.b_value = 998;
dti_method.directions{1} = [1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30];
dti_method.robust_option = 0;
dti_method.noise_tolerance = 0.09;
fn_noise = '';
fwhm_img = [1.25 1.25 2.5];
fwhm_noise = [0 0 0];
median_filter_method = 1;
map_interpolation_method.flag = 1;
map_interpolation_method.order = 1;
map_interpolation_method.resolution = 1;
fn_gradients = {'grad_1.txt', 'grad_2.txt', 'grad_3.txt', 'grad_4.txt', 'grad_5.txt', 'grad_6.txt', 'grad_7.txt', 'grad_8.txt', 'grad_9.txt', 'grad_10.txt', 'grad_11.txt', 'grad_12.txt', 'grad_13.txt', 'grad_14.txt', 'grad_15.txt', 'grad_16.txt', 'grad_17.txt', 'grad_18.txt', 'grad_19.txt'};
idx_gradients{1} = [1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30];
idx_gradients{2} = [1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30];

