245
245
%now lets make a brain image!
246
246
patheader=subj.patterns{1}.header; % go back to that first input pattern (assumes the first pat is your raw bold imgs) and grab the header. to do: would be prettier to actually grab based on epi name...
247
247
patheader.vol=patheader.vol(1); %that was a 4d pattern but we only need the .vol struct for the first volum
248
250
%label the imgs by the training/testing data
249
251
for fold=1:length(searchlightmaps)
250
252
if ~strcmp(xvalselector, 'runs')