aa21d53bf8e5ab8c14cb6b5afaf8fb6800e8a6db
Christoph Budziszewski enabled svm classification....

Christoph Budziszewski authored 15 years ago

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

Christoph Budziszewski authored 15 years ago

private/runCoordTable.m  2) 
Christoph Budziszewski working: SingleSubject, Coo...

Christoph Budziszewski authored 15 years ago

private/runCoordTable.m  3) % global SVMCROSSVAL_SUBJECTSTRUCT_NAME;
Christoph Budziszewski snapshot, classification

Christoph Budziszewski authored 15 years ago

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;
Christoph Budziszewski working: SingleSubject, Coo...

Christoph Budziszewski authored 15 years ago

private/runCoordTable.m  8)     nSubjects = numel(subjects);
Christoph Budziszewski coordTabel works for JZ006

Christoph Budziszewski authored 15 years ago

private/runCoordTable.m  9)     sessionlist = args.sessionList;
Christoph Budziszewski normalization features enabled

Christoph Budziszewski authored 15 years ago

private/runCoordTable.m 10)     pstopts = args.psthOpts;
Christoph Budziszewski working: SingleSubject, Coo...

Christoph Budziszewski authored 15 years ago

private/runCoordTable.m 11)     
Christoph Budziszewski task-models implementet.

Christoph Budziszewski authored 15 years ago

private/runCoordTable.m 12)     disp(sprintf('batch processing %g subjects.',nSubjects));
Christoph Budziszewski subject loop is function

Christoph Budziszewski authored 15 years ago

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

Christoph Budziszewski authored 15 years ago

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

Christoph Budziszewski authored 15 years ago

classify.m              19)         
Christoph Budziszewski coordTabel works for JZ006

Christoph Budziszewski authored 15 years ago

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

Christoph Budziszewski authored 15 years ago

classify.m              22)         
Christoph Budziszewski radius backend working

Christoph Budziszewski authored 15 years ago

private/runCoordTable.m 23) %         nVoxel = size(subjectStruct{s}.coords,1);
Christoph Budziszewski schwimmen.

Christoph Budziszewski authored 15 years ago

private/runCoordTable.m 24)         
Christoph Budziszewski coordTabel works for JZ006

Christoph Budziszewski authored 15 years ago

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

Christoph Budziszewski authored 15 years ago

private/runCoordTable.m 27)       
Christoph Budziszewski radius frontend enabled, fi...

Christoph Budziszewski authored 15 years ago

private/runCoordTable.m 28)         [extr nExtractedVoxel] = calculateImageData(subjectStruct{s}.volumes,subjectStruct{s}.coords);
Christoph Budziszewski schwimmen.

Christoph Budziszewski authored 15 years ago

private/runCoordTable.m 29)          
private/runCoordTable.m 30)         pstopts.des = subjectStruct{s}.des;
private/runCoordTable.m 31)         pstopts.eventList = args.eventList;
private/runCoordTable.m 32)         pstopts.sessionList = sessionlist;
Christoph Budziszewski transport changes

Christoph Budziszewski authored 15 years ago

private/classify.m      33)         
Christoph Budziszewski radius backend working

Christoph Budziszewski authored 15 years ago

private/runCoordTable.m 34)         disp(sprintf('computing psth for %g voxel',nExtractedVoxel));
private/runCoordTable.m 35)         for iVoxel = 1:nExtractedVoxel
Christoph Budziszewski schwimmen.

Christoph Budziszewski authored 15 years ago

private/runCoordTable.m 36)             rawdata = [];
private/runCoordTable.m 37)             for iImage = 1:length(extr);
private/runCoordTable.m 38)                 tmp = extr(iImage);
Christoph Budziszewski radius backend working

Christoph Budziszewski authored 15 years ago

private/runCoordTable.m 39)                 rawdata = [rawdata tmp.dat(iVoxel)];
Christoph Budziszewski schwimmen.

Christoph Budziszewski authored 15 years ago

private/runCoordTable.m 40)             end
Christoph Budziszewski radius bug fast behoben.

Christoph Budziszewski authored 15 years ago

private/runCoordTable.m 41)             subjectStruct{s}.rawData{iVoxel} = rawdata;
Christoph Budziszewski schwimmen.

Christoph Budziszewski authored 15 years ago

private/runCoordTable.m 42)             subjectStruct{s}.pst{iVoxel} = calculatePST(args.timeline,pstopts,rawdata);
private/runCoordTable.m 43)         end
Christoph Budziszewski radius backend working

Christoph Budziszewski authored 15 years ago

private/runCoordTable.m 44)         
Christoph Budziszewski working: SingleSubject, Coo...

Christoph Budziszewski authored 15 years ago

private/runCoordTable.m 45)        disp(sprintf('done %g / %g',s,nSubjects));
Christoph Budziszewski coordTabel works for JZ006

Christoph Budziszewski authored 15 years ago

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

Christoph Budziszewski authored 15 years ago

private/runCoordTable.m 47)     
Christoph Budziszewski enabled svm classification....

Christoph Budziszewski authored 15 years ago

private/runCoordTable.m 48)     subjectData = subjectStruct;
private/runCoordTable.m 49) %     assignin('base',SVMCROSSVAL_SUBJECTSTRUCT_NAME,subjectStruct);