removed unused functions
Christoph Budziszewski

Christoph Budziszewski commited on 2009-07-31 10:29:51
Zeige 7 geänderte Dateien mit 2 Einfügungen und 59 Löschungen.


git-svn-id: https://svn.discofish.de/MATLAB/spmtoolbox/SVMCrossVal@201 83ab2cfd-5345-466c-8aeb-2b2739fb922d
... ...
@@ -1,5 +1,6 @@
1
-%function pst = calculatePST(des,globalStart,baselineStart,baselineEnd,globalEnd,eventList,data,sessionList)
1
+%function pst = calculatePST(timeline,pstopts,data)
2 2
 function pst = calculatePST(timeline,pstopts,data)
3
+%function pst = calculatePST(des,globalStart,baselineStart,baselineEnd,globalEnd,eventList,data,sessionList)
3 4
     des         = pstopts.des;
4 5
     eventList   = pstopts.eventList;
5 6
     sessionList = pstopts.sessionList;
... ...
@@ -1,21 +0,0 @@
1
-function model = scanDirs(model)
2
-% disp('scan dir');
3
-baseDir = getBaseDir(model);
4
-subjectNames = listDirNames(baseDir);
5
-
6
-set(model.subjectSelector,'String',subjectNames);
7
-set(model.subjectSelector,'UserData',subjectNames);
8
-set(model.subjectSelector,'Value',model.selectedSubject);
9
-
10
-%subjectNames(model.selectedSubject)
11
-imageMask = imageMaskNames(fullfile(baseDir,cell2mat(subjectNames(model.selectedSubject))));
12
-
13
-set(model.imageTypeSelection,'String',imageMask);
14
-set(model.imageTypeSelection,'UserData',imageMask);
15
-
16
-% set(model.txtBaseDir,'String',baseDir);
17
-
18
-% des = 
19
-% tr = des.xsDes.Interscan_interval(1:end-3);
20
-set(model.labelTR,'String',2)
21
-end
22 0
\ No newline at end of file
... ...
@@ -1,5 +0,0 @@
1
-function sessionDirList = sessionList2DirList(sessionList)
2
-for i = 1:numel(sessionList)
3
-    sessionDirList{i} = char(96+sessionList(i));
4
-end
5
-end
... ...
@@ -1,12 +0,0 @@
1
-function sortedList = sortedAdd(element, list)
2
-    if(isempty(list))
3
-        sortedList = element;
4
-        return;
5
-    end
6
-    head = list(1);
7
-    if element.id < head.id
8
-        sortedList = [element list];
9
-    else 
10
-        sortedList = [head sortedAdd(element, list(2:length(list)))];
11
-    end
12
-end
13 0
\ No newline at end of file
... ...
@@ -1,20 +0,0 @@
1
-% function s = strtrunc(str)
2
-% s=str;
3
-% c=1
4
-% while isspace(s(c)) 
5
-%     s = s(2:length(s))
6
-% end
7
-% while isspace(s(length(s)))
8
-%     s = s(1:length(s)-1);
9
-% end
10
-% end
11
-
12
-function s = strtrunc(str)
13
-if isspace(str(1))
14
-    s = strtrunc(str(2:length(str)));
15
-elseif isspace(str(length(str)))
16
-    s = strtrunc(str(1:length(str)-1));
17
-else
18
-    s = str;
19
-end
20
-end
21 0
\ No newline at end of file