0e963b354da4072cdc459ff95838f440385ee9fa
Christoph Budziszewski coordTabel works for JZ006

Christoph Budziszewski authored 15 years ago

private/runCoordTable.m  1) function runCoordTable(args)
Christoph Budziszewski snapshot, classification

Christoph Budziszewski authored 15 years ago

private/runCoordTable.m  2) 
private/runCoordTable.m  3) global SVMCROSSVAL_SUBJECTSTRUCT_NAME;
private/runCoordTable.m  4) 
Christoph Budziszewski zwischenspeicherung

Christoph Budziszewski authored 15 years ago

private/runCoordTable.m  5)     disp('run coord table')
private/runCoordTable.m  6)     
Christoph Budziszewski coordTabel works for JZ006

Christoph Budziszewski authored 15 years ago

private/runCoordTable.m  7)     subjects = args.subjects;
private/runCoordTable.m  8)     nSubjects = size(subjects);
private/runCoordTable.m  9)     sessionlist = args.sessionList;
Christoph Budziszewski subject loop is function

Christoph Budziszewski authored 15 years ago

private/classify.m      10) 
Christoph Budziszewski coordTabel works for JZ006

Christoph Budziszewski authored 15 years ago

private/runCoordTable.m 11)     for s = 1:nSubjects
private/runCoordTable.m 12)         subjectStruct{s}.dir = fullfile(args.basedir,cell2mat(subjects(s)));
private/runCoordTable.m 13)         d = load(fullfile(subjectStruct{s}.dir,'results','SPM.mat'));
private/runCoordTable.m 14)         subjectStruct{s}.des = d.SPM;
private/runCoordTable.m 15)         subjectStruct{s}.name = cell2mat(subjects(s));
Christoph Budziszewski new LabelMap new svm groupi...

Christoph Budziszewski authored 15 years ago

classify.m              16)         
Christoph Budziszewski coordTabel works for JZ006

Christoph Budziszewski authored 15 years ago

private/runCoordTable.m 17)         map = load(fullfile(subjectStruct{s}.dir,'results','roi','coord_map.mat'));
private/runCoordTable.m 18)         subjectStruct{s}.coords = getSubjectCoordinates(args.coords,map);
Christoph Budziszewski SVMCrossVal toolbox init

Christoph Budziszewski authored 16 years ago

classify.m              19)         
Christoph Budziszewski schwimmen.

Christoph Budziszewski authored 15 years ago

private/runCoordTable.m 20)         nVoxel = size(subjectStruct{s}.coords,1);
private/runCoordTable.m 21)         
Christoph Budziszewski coordTabel works for JZ006

Christoph Budziszewski authored 15 years ago

private/runCoordTable.m 22)         disp('fetching volume definitions, please wait');
private/runCoordTable.m 23)         subjectStruct{s}.volumes = spm_vol(getImageFileList(subjectStruct{s}.dir,sessionlist,args.mask));
Christoph Budziszewski schwimmen.

Christoph Budziszewski authored 15 years ago

private/runCoordTable.m 24)       
private/runCoordTable.m 25)         extr = calculateImageData(subjectStruct{s}.volumes,subjectStruct{s}.coords);
private/runCoordTable.m 26)          
private/runCoordTable.m 27)         pstopts.des = subjectStruct{s}.des;
private/runCoordTable.m 28)         pstopts.eventList = args.eventList;
private/runCoordTable.m 29)         pstopts.sessionList = sessionlist;
Christoph Budziszewski transport changes

Christoph Budziszewski authored 15 years ago

private/classify.m      30)         
Christoph Budziszewski schwimmen.

Christoph Budziszewski authored 15 years ago

private/runCoordTable.m 31)         disp('computing psth');
private/runCoordTable.m 32)         for iVoxel = 1:nVoxel
private/runCoordTable.m 33)             rawdata = [];
private/runCoordTable.m 34)             for iImage = 1:length(extr);
private/runCoordTable.m 35)                 tmp = extr(iImage);
private/runCoordTable.m 36)                 rawdata = [rawdata tmp.dat(iVoxel)];
private/runCoordTable.m 37)             end
private/runCoordTable.m 38)             subjectStruct{s}.pst{iVoxel} = calculatePST(args.timeline,pstopts,rawdata);
private/runCoordTable.m 39)         end
private/runCoordTable.m 40)        disp(sprintf('done %g // %g',s,nSubjects));
Christoph Budziszewski coordTabel works for JZ006

Christoph Budziszewski authored 15 years ago

private/runCoordTable.m 41)     end
Christoph Budziszewski schwimmen.

Christoph Budziszewski authored 15 years ago

private/runCoordTable.m 42)     
Christoph Budziszewski snapshot, classification

Christoph Budziszewski authored 15 years ago

private/runCoordTable.m 43)     assignin('base',SVMCROSSVAL_SUBJECTSTRUCT_NAME,subjectStruct);