%-----------------------------------------------------------------------
% Job configuration created by cfg_util (rev $Rev: 498 $)
%-----------------------------------------------------------------------
matlabbatch{1}.spm.spatial.realign.estimate.data = {
                                                    {
                                                    '/tmp/rat1.nii,1'
                                                    '/tmp/rat2.nii,1'
                                                    }
                                                    }';
matlabbatch{1}.spm.spatial.realign.estimate.eoptions.quality = 0.9;
matlabbatch{1}.spm.spatial.realign.estimate.eoptions.sep = 0.21;
matlabbatch{1}.spm.spatial.realign.estimate.eoptions.fwhm = 0.28;
matlabbatch{1}.spm.spatial.realign.estimate.eoptions.rtm = 1;
matlabbatch{1}.spm.spatial.realign.estimate.eoptions.interp = 2;
matlabbatch{1}.spm.spatial.realign.estimate.eoptions.wrap = [0 0 0];
matlabbatch{1}.spm.spatial.realign.estimate.eoptions.weight = '';
matlabbatch{2}.spm.spatial.realign.write.data(1) = cfg_dep;
matlabbatch{2}.spm.spatial.realign.write.data(1).tname = 'Images';
matlabbatch{2}.spm.spatial.realign.write.data(1).tgt_spec{1}(1).name = 'filter';
matlabbatch{2}.spm.spatial.realign.write.data(1).tgt_spec{1}(1).value = 'image';
matlabbatch{2}.spm.spatial.realign.write.data(1).tgt_spec{1}(2).name = 'strtype';
matlabbatch{2}.spm.spatial.realign.write.data(1).tgt_spec{1}(2).value = 'e';
matlabbatch{2}.spm.spatial.realign.write.data(1).sname = 'Realign: Estimate: Realigned Images (Sess 1)';
matlabbatch{2}.spm.spatial.realign.write.data(1).src_exbranch = substruct('.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{2}.spm.spatial.realign.write.data(1).src_output = substruct('.','sess', '()',{1}, '.','cfiles');
matlabbatch{2}.spm.spatial.realign.write.roptions.which = [2 1];
matlabbatch{2}.spm.spatial.realign.write.roptions.interp = 4;
matlabbatch{2}.spm.spatial.realign.write.roptions.wrap = [0 0 0];
matlabbatch{2}.spm.spatial.realign.write.roptions.mask = 1;
matlabbatch{2}.spm.spatial.realign.write.roptions.prefix = 'r';
