Create a linear fascicle evaluation structure fe = feCreate Copyright (2013-2014), Franco Pestilli, Stanford University, pestillifranco@gmail.com.
0001 function fe = feCreate 0002 % Create a linear fascicle evaluation structure 0003 % 0004 % fe = feCreate 0005 % 0006 % Copyright (2013-2014), Franco Pestilli, Stanford University, pestillifranco@gmail.com. 0007 0008 % Book-keeping 0009 fe.name = 'default'; % This one's name 0010 fe.type = 'faseval'; % Always fascicle evaluation 0011 0012 % Overview 0013 fe.life = []; % Structure of parameters and results from LIFE analysis 0014 fe.fg = []; % Fiber group candidate fascicles, uses fgSet/Get 0015 fe.roi = []; % Cell array of regions of interest where we evaluate 0016 0017 % Path to files 0018 fe.path.dwifile = []; % Diffusion weighted file used for testing results 0019 fe.path.dtfile = []; % Diffusion weighted file used for testing results 0020 fe.path.savedir = []; % Top directory under which all files will be saved 0021 fe.path.anatomy = []; % 3D high-resolution anatomical file 0022 fe.path.dwifilerep = []; % File used for cross-validating the results. 0023 % A secodn measuremnt ideally acquried in the 0024 % same session witht the same scanning 0025 % parameters. 0026 0027 % Life Algorithm parameters 0028 fe.life.Mfiber = []; % Fiber portion of A matrix 0029 fe.life.voxel2FNpair = []; % Voxels to fiber/node pair, fefgGet(fg,'voxel 2 fiber node pair') 0030 fe.life.dSig = []; % Signal of fibers alone (demeaned). 0031 fe.life.Mfiber = []; 0032 fe.life.voxel2FNpair = {}; 0033 fe.life.dSig = []; 0034 fe.life.xform = []; 0035 fe.life.fibers = []; 0036 fe.life.diffusion_signal_img = []; 0037 fe.life.diffusion_S0_img = []; 0038 fe.life.bvecs = []; 0039 fe.life.bvals = []; 0040 fe.life.bvecsindices = []; 0041 fe.life.imagedim = []; 0042 fe.life.xform = []; % Transforms between coords for fg, roi, and dwi data 0043 fe.life.xform.img2acpc = []; 0044 fe.life.xform.acpc2img = []; 0045 0046 % Repetition file for cross-validation 0047 fe.rep = []; 0048 0049 return