git.schokokeks.org
Repositories
Help
Report an Issue
SVMCrossVal.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
e004973
Branches
Tags
master
SVMCrossVal.git
private
runCoordTable.m
coordTabel works for JZ006
Christoph Budziszewski
commited
e004973
at 2009-02-25 15:49:55
runCoordTable.m
Blame
History
Raw
function runCoordTable(args) disp('run coord table') subjects = args.subjects; nSubjects = size(subjects); sessionlist = args.sessionList; for s = 1:nSubjects subjectStruct{s}.dir = fullfile(args.basedir,cell2mat(subjects(s))); d = load(fullfile(subjectStruct{s}.dir,'results','SPM.mat')); subjectStruct{s}.des = d.SPM; subjectStruct{s}.name = cell2mat(subjects(s)); map = load(fullfile(subjectStruct{s}.dir,'results','roi','coord_map.mat')); subjectStruct{s}.coords = getSubjectCoordinates(args.coords,map); disp('fetching volume definitions, please wait'); subjectStruct{s}.volumes = spm_vol(getImageFileList(subjectStruct{s}.dir,sessionlist,args.mask)); rawData = calculateImageData(subjectStruct{s}.volumes,subjectStruct{s}.coords) disp('done'); end end % % % decode = claculateMultiSubjectDecodePerformance(timelineParams,calculateParams,paramModel); % % display('Finished calculations.'); % display('Plotting...'); % % plotParams = struct; % % % plotParams.SVMCROSSVAL_CROSSVAL_METHOD_DEF = SVMCROSSVAL_CROSSVAL_METHOD_DEF; % plotParams.CROSSVAL_METHOD = calculateParams.CROSSVAL_METHOD; % % plotParams.nClasses = length(calculateParams.classList); % % plotParams.decodePerformance = decode.decodePerformance; % plotParams.rawTimeCourse = decode.rawTimeCourse; % plotParams.SubjectID = subjectSelection; % plotParams.smoothed = boolToYesNoString(calculateParams.smoothed); % % assignin('base','plotParams',plotParams); % % plotDecodePerformance(params.psthStart,params.psthEnd,params.nClasses,decode.decodeTable,params.frameShiftStart,params.frameShiftEnd,decode.rawTimeCourse); % plotDecodePerformance(timelineParams,plotParams); % % display('all done.'); %