Christoph Budziszewski commited on 2009-03-05 14:30:01
Zeige 9 geänderte Dateien mit 0 Einfügungen und 597 Löschungen.
git-svn-id: https://svn.discofish.de/MATLAB/spmtoolbox/SVMCrossVal@142 83ab2cfd-5345-466c-8aeb-2b2739fb922d
... | ... |
@@ -1,147 +0,0 @@ |
1 |
-function m = SubjectRoiMapping(argv) |
|
2 |
-%SUBJECTROIMAPPING Subject to ROI to Coordinate Mapping Class Constructor |
|
3 |
-% m = SUBJECTROIMAPPING() creates a predefined ROI Coordinate Mapping. |
|
4 |
-% normally called without any arguments |
|
5 |
- |
|
6 |
-if nargin == 0 |
|
7 |
- m.subject{1} ='AI020'; |
|
8 |
- m.subject{2} ='BD001'; |
|
9 |
- m.subject{3} ='HG027'; |
|
10 |
- m.subject{4} ='IK011'; |
|
11 |
- m.subject{5} ='JZ006'; % Guter Proband |
|
12 |
- m.subject{6} ='LB001'; |
|
13 |
- m.subject{7} ='SW007'; |
|
14 |
- m.subject{8} ='VW005'; |
|
15 |
- |
|
16 |
- m.subjectNameMap = java.util.HashMap; |
|
17 |
- for subj = 1:size(m.subject,2) |
|
18 |
- m.subjectNameMap.put(m.subject{subj},subj); |
|
19 |
- end |
|
20 |
- |
|
21 |
- |
|
22 |
- |
|
23 |
- m.roi_name{1} ='SPL l'; % <-Parietalkortex links |
|
24 |
- m.roi_name{2} ='SPL r'; % <-Parietalkortex rechts |
|
25 |
- m.roi_name{3} ='PMd l'; |
|
26 |
- m.roi_name{4} ='PMd r'; |
|
27 |
- m.roi_name{5} ='IPSa l'; |
|
28 |
- m.roi_name{6} ='IPSa r'; |
|
29 |
- m.roi_name{7} ='SMA'; |
|
30 |
- m.roi_name{8} ='DLPFC'; |
|
31 |
- m.roi_name{9} ='V1 l'; |
|
32 |
- m.roi_name{10} ='V1 r'; |
|
33 |
- m.roi_name{11} ='M1 l'; % <-Motorischer Cortex l |
|
34 |
- m.roi_name{12} ='M1 r'; % <-Motorischer Cortex r |
|
35 |
- |
|
36 |
- m.roiNameMap = java.util.HashMap; |
|
37 |
- for roi = 1:size(m.roi_name,2) |
|
38 |
- m.roiNameMap.put(m.roi_name{roi},roi); |
|
39 |
- end |
|
40 |
- |
|
41 |
- |
|
42 |
- % Koordinaten aller Probanden A von den ROIS B: rois{A}(B,[x y z in mm]) |
|
43 |
- m.coordinate{1}(1,:) = [-18, -78, 53]; |
|
44 |
- m.coordinate{1}(2,:) = [12, -69, 46]; |
|
45 |
- m.coordinate{1}(3,:) = [-21, -12, 49]; |
|
46 |
- m.coordinate{1}(4,:) = [30, -12, 53]; |
|
47 |
- m.coordinate{1}(5,:) = [-30, -51, 39]; |
|
48 |
- m.coordinate{1}(6,:) = [ 33, -60, 49]; |
|
49 |
- m.coordinate{1}(7,:) = [ -9, 6, 46]; |
|
50 |
- m.coordinate{1}(8,:) = [-27 27 48]; |
|
51 |
- m.coordinate{1}(9,:) = [-6, -90, -7]; |
|
52 |
- m.coordinate{1}(10,:) = [12, -90, -4]; |
|
53 |
- m.coordinate{1}(11,:) = [-57, -24, 49]; |
|
54 |
- m.coordinate{1}(12,:) = [42, -24, 60]; |
|
55 |
- m.coordinate{2}(1,:) = [-9, -72, 56]; |
|
56 |
- m.coordinate{2}(2,:) = [15, -72, 60]; |
|
57 |
- m.coordinate{2}(3,:) = [-30, -9, 53]; |
|
58 |
- m.coordinate{2}(4,:) = [ 30, -9, 49]; |
|
59 |
- m.coordinate{2}(5,:) = [-42 -36 39]; |
|
60 |
- m.coordinate{2}(6,:) = [30 -36 42]; |
|
61 |
- m.coordinate{2}(7,:) = [ -3, 6, 53]; |
|
62 |
- m.coordinate{2}(8,:) = [-27 30 28]; |
|
63 |
- m.coordinate{2}(9,:) = [-6, -81, -7]; |
|
64 |
- m.coordinate{2}(10,:) = [9, -78, -7]; |
|
65 |
- m.coordinate{2}(11,:) = [-51, -24, 60]; |
|
66 |
- m.coordinate{2}(12,:) = [48, -21, 63]; |
|
67 |
- m.coordinate{3}(1,:) = [-15, -72, 60]; |
|
68 |
- m.coordinate{3}(2,:) = [15, -66, 63]; |
|
69 |
- m.coordinate{3}(3,:) = [-27, -12, 56]; |
|
70 |
- m.coordinate{3}(4,:) = [24 -15 53]; |
|
71 |
- m.coordinate{3}(5,:) = [-36 -36 42]; |
|
72 |
- m.coordinate{3}(6,:) = [30 -39 35]; |
|
73 |
- m.coordinate{3}(7,:) = [-9, 3, 53]; |
|
74 |
- m.coordinate{3}(8,:) = [-30 30 28]; |
|
75 |
- m.coordinate{3}(9,:) = [-3, -90, 4]; |
|
76 |
- m.coordinate{3}(10,:) = [15, -99, 14]; |
|
77 |
- m.coordinate{3}(11,:) = [-27, -27, 74]; |
|
78 |
- m.coordinate{3}(12,:) = [36, -27, 70]; |
|
79 |
- m.coordinate{4}(1,:) = [-21, -69, 63]; |
|
80 |
- m.coordinate{4}(2,:) = [21, -69, 63]; |
|
81 |
- m.coordinate{4}(3,:) = [-33 -12 53]; |
|
82 |
- m.coordinate{4}(4,:) = [12 -9 60]; |
|
83 |
- m.coordinate{4}(5,:) = [-33 -35 46]; |
|
84 |
- m.coordinate{4}(6,:) = [42 -36 39]; |
|
85 |
- m.coordinate{4}(7,:) = [-3 0 49]; |
|
86 |
- m.coordinate{4}(8,:) = [-33 33 28]; |
|
87 |
- m.coordinate{4}(9,:) = [-3, -90, -7]; |
|
88 |
- m.coordinate{4}(10,:) = [9, -81, -7]; |
|
89 |
- m.coordinate{4}(11,:) = [-39, -27, 53]; |
|
90 |
- m.coordinate{4}(12,:) = [51, -24, 60]; |
|
91 |
- m.coordinate{5}(1,:) = [-12 -66 63]; |
|
92 |
- m.coordinate{5}(2,:) = [12, -75, 60]; |
|
93 |
- m.coordinate{5}(3,:) = [-24, -12, 53]; |
|
94 |
- m.coordinate{5}(4,:) = [27, -9, 60]; |
|
95 |
- m.coordinate{5}(5,:) = [-42 -42 35]; |
|
96 |
- m.coordinate{5}(6,:) = [33 -48 35]; |
|
97 |
- m.coordinate{5}(7,:) = [ -3, 0, 49]; |
|
98 |
- m.coordinate{5}(8,:) = [-36 33 28]; |
|
99 |
- m.coordinate{5}(9,:) = [-15, -93, -4]; |
|
100 |
- m.coordinate{5}(10,:) = [15, -90, 4]; |
|
101 |
- m.coordinate{5}(11,:) = [-39, -33, 67]; |
|
102 |
- m.coordinate{5}(12,:) = [27, -18, 74]; |
|
103 |
- m.coordinate{6}(1,:) = [-21, -69, 60]; |
|
104 |
- m.coordinate{6}(2,:) = [9, -72, 63]; |
|
105 |
- m.coordinate{6}(3,:) = [-24 -12 53]; |
|
106 |
- m.coordinate{6}(4,:) = [32 -12 56]; |
|
107 |
- m.coordinate{6}(5,:) = [-36 -39 35]; |
|
108 |
- m.coordinate{6}(6,:) = [42 -33 46]; |
|
109 |
- m.coordinate{6}(7,:) = [-6 3 49]; |
|
110 |
- m.coordinate{6}(8,:) = [-36 33 28]; |
|
111 |
- m.coordinate{6}(9,:) = [-12, -99, 0]; |
|
112 |
- m.coordinate{6}(10,:) = [9, -96, -7]; |
|
113 |
- m.coordinate{6}(11,:) = [-48, -27, 60]; |
|
114 |
- m.coordinate{6}(12,:) = [33, -33, 60]; |
|
115 |
- m.coordinate{7}(1,:) = [-21, -60, 56]; |
|
116 |
- m.coordinate{7}(2,:) = [12, -69, 60]; |
|
117 |
- m.coordinate{7}(3,:) = [-24, -12, 49]; |
|
118 |
- m.coordinate{7}(4,:) = [24, -6, 49]; |
|
119 |
- m.coordinate{7}(5,:) = [-33 -45 46]; |
|
120 |
- m.coordinate{7}(6,:) = [30, -51, 49]; |
|
121 |
- m.coordinate{7}(7,:) = [0, 9, 42]; |
|
122 |
- m.coordinate{7}(8,:) = [-30 36 35]; |
|
123 |
- m.coordinate{7}(9,:) = [-3, -84, -4]; |
|
124 |
- m.coordinate{7}(10,:) = [18, -87, -7]; |
|
125 |
- m.coordinate{7}(11,:) = [-36, -30, 63]; |
|
126 |
- m.coordinate{7}(12,:) = [42, -27, 60]; |
|
127 |
- m.coordinate{8}(1,:) = [-27, -63, 53]; |
|
128 |
- m.coordinate{8}(2,:) = [18, -66, 56]; |
|
129 |
- m.coordinate{8}(3,:) = [-21, -6, 56]; |
|
130 |
- m.coordinate{8}(4,:) = [27 -6 53]; |
|
131 |
- m.coordinate{8}(5,:) = [-36, -51, 49]; |
|
132 |
- m.coordinate{8}(6,:) = [45, -39, 53]; |
|
133 |
- m.coordinate{8}(7,:) = [-9, 9, 53]; |
|
134 |
- m.coordinate{8}(8,:) = [-36 24 25]; |
|
135 |
- m.coordinate{8}(9,:) = [0, -90, 4]; |
|
136 |
- m.coordinate{8}(10,:) = [0, -90, 4]; |
|
137 |
- m.coordinate{8}(11,:) = [-42, -27, 67]; |
|
138 |
- m.coordinate{8}(12,:) = [51, -27, 63]; |
|
139 |
- |
|
140 |
- m = class(m,'SubjectRoiMapping'); |
|
141 |
- |
|
142 |
-elseif isa(argv,'SubjectRoiMapping') % copy |
|
143 |
- m = argv; |
|
144 |
- |
|
145 |
-else |
|
146 |
-error('SubjectRoiMapping:Constructor:NoSuchConstructor','There is no constructor matching your argv'); |
|
147 |
-end |
|
148 | 0 |
\ No newline at end of file |
... | ... |
@@ -1,147 +0,0 @@ |
1 |
-function m = SubjectRoiMapping(argv) |
|
2 |
-%SUBJECTROIMAPPING Subject to ROI to Coordinate Mapping Class Constructor |
|
3 |
-% m = SUBJECTROIMAPPING() creates a predefined ROI Coordinate Mapping. |
|
4 |
-% normally called without any arguments |
|
5 |
- |
|
6 |
-if nargin == 0 |
|
7 |
- m.subject{1} ='AI020'; |
|
8 |
- m.subject{2} ='BD001'; |
|
9 |
- m.subject{3} ='HG027'; |
|
10 |
- m.subject{4} ='IK011'; |
|
11 |
- m.subject{5} ='JZ006'; % Guter Proband |
|
12 |
- m.subject{6} ='LB001'; |
|
13 |
- m.subject{7} ='SW007'; |
|
14 |
- m.subject{8} ='VW005'; |
|
15 |
- |
|
16 |
- m.subjectNameMap = java.util.HashMap; |
|
17 |
- for subj = 1:size(m.subject,2) |
|
18 |
- m.subjectNameMap.put(m.subject{subj},subj); |
|
19 |
- end |
|
20 |
- |
|
21 |
- |
|
22 |
- |
|
23 |
- m.roi_name{1} ='SPL l'; % <-Parietalkortex links |
|
24 |
- m.roi_name{2} ='SPL r'; % <-Parietalkortex rechts |
|
25 |
- m.roi_name{3} ='PMd l'; |
|
26 |
- m.roi_name{4} ='PMd r'; |
|
27 |
- m.roi_name{5} ='IPSa l'; |
|
28 |
- m.roi_name{6} ='IPSa r'; |
|
29 |
- m.roi_name{7} ='SMA'; |
|
30 |
- m.roi_name{8} ='DLPFC'; |
|
31 |
- m.roi_name{9} ='V1 l'; |
|
32 |
- m.roi_name{10} ='V1 r'; |
|
33 |
- m.roi_name{11} ='M1 l'; % <-Motorischer Cortex l |
|
34 |
- m.roi_name{12} ='M1 r'; % <-Motorischer Cortex r |
|
35 |
- |
|
36 |
- m.roiNameMap = java.util.HashMap; |
|
37 |
- for roi = 1:size(m.roi_name,2) |
|
38 |
- m.roiNameMap.put(m.roi_name{roi},roi); |
|
39 |
- end |
|
40 |
- |
|
41 |
- |
|
42 |
- % Koordinaten aller Probanden A von den ROIS B: rois{A}(B,[x y z in mm]) |
|
43 |
- m.coordinate{1}(1,:) = [-18, -78, 53]; |
|
44 |
- m.coordinate{1}(2,:) = [12, -69, 46]; |
|
45 |
- m.coordinate{1}(3,:) = [-21, -12, 49]; |
|
46 |
- m.coordinate{1}(4,:) = [30, -12, 53]; |
|
47 |
- m.coordinate{1}(5,:) = [-30, -51, 39]; |
|
48 |
- m.coordinate{1}(6,:) = [ 33, -60, 49]; |
|
49 |
- m.coordinate{1}(7,:) = [ -9, 6, 46]; |
|
50 |
- m.coordinate{1}(8,:) = [-27 27 48]; |
|
51 |
- m.coordinate{1}(9,:) = [-6, -90, -7]; |
|
52 |
- m.coordinate{1}(10,:) = [12, -90, -4]; |
|
53 |
- m.coordinate{1}(11,:) = [-57, -24, 49]; |
|
54 |
- m.coordinate{1}(12,:) = [42, -24, 60]; |
|
55 |
- m.coordinate{2}(1,:) = [-9, -72, 56]; |
|
56 |
- m.coordinate{2}(2,:) = [15, -72, 60]; |
|
57 |
- m.coordinate{2}(3,:) = [-30, -9, 53]; |
|
58 |
- m.coordinate{2}(4,:) = [ 30, -9, 49]; |
|
59 |
- m.coordinate{2}(5,:) = [-42 -36 39]; |
|
60 |
- m.coordinate{2}(6,:) = [30 -36 42]; |
|
61 |
- m.coordinate{2}(7,:) = [ -3, 6, 53]; |
|
62 |
- m.coordinate{2}(8,:) = [-27 30 28]; |
|
63 |
- m.coordinate{2}(9,:) = [-6, -81, -7]; |
|
64 |
- m.coordinate{2}(10,:) = [9, -78, -7]; |
|
65 |
- m.coordinate{2}(11,:) = [-51, -24, 60]; |
|
66 |
- m.coordinate{2}(12,:) = [48, -21, 63]; |
|
67 |
- m.coordinate{3}(1,:) = [-15, -72, 60]; |
|
68 |
- m.coordinate{3}(2,:) = [15, -66, 63]; |
|
69 |
- m.coordinate{3}(3,:) = [-27, -12, 56]; |
|
70 |
- m.coordinate{3}(4,:) = [24 -15 53]; |
|
71 |
- m.coordinate{3}(5,:) = [-36 -36 42]; |
|
72 |
- m.coordinate{3}(6,:) = [30 -39 35]; |
|
73 |
- m.coordinate{3}(7,:) = [-9, 3, 53]; |
|
74 |
- m.coordinate{3}(8,:) = [-30 30 28]; |
|
75 |
- m.coordinate{3}(9,:) = [-3, -90, 4]; |
|
76 |
- m.coordinate{3}(10,:) = [15, -99, 14]; |
|
77 |
- m.coordinate{3}(11,:) = [-27, -27, 74]; |
|
78 |
- m.coordinate{3}(12,:) = [36, -27, 70]; |
|
79 |
- m.coordinate{4}(1,:) = [-21, -69, 63]; |
|
80 |
- m.coordinate{4}(2,:) = [21, -69, 63]; |
|
81 |
- m.coordinate{4}(3,:) = [-33 -12 53]; |
|
82 |
- m.coordinate{4}(4,:) = [12 -9 60]; |
|
83 |
- m.coordinate{4}(5,:) = [-33 -35 46]; |
|
84 |
- m.coordinate{4}(6,:) = [42 -36 39]; |
|
85 |
- m.coordinate{4}(7,:) = [-3 0 49]; |
|
86 |
- m.coordinate{4}(8,:) = [-33 33 28]; |
|
87 |
- m.coordinate{4}(9,:) = [-3, -90, -7]; |
|
88 |
- m.coordinate{4}(10,:) = [9, -81, -7]; |
|
89 |
- m.coordinate{4}(11,:) = [-39, -27, 53]; |
|
90 |
- m.coordinate{4}(12,:) = [51, -24, 60]; |
|
91 |
- m.coordinate{5}(1,:) = [-12 -66 63]; |
|
92 |
- m.coordinate{5}(2,:) = [12, -75, 60]; |
|
93 |
- m.coordinate{5}(3,:) = [-24, -12, 53]; |
|
94 |
- m.coordinate{5}(4,:) = [27, -9, 60]; |
|
95 |
- m.coordinate{5}(5,:) = [-42 -42 35]; |
|
96 |
- m.coordinate{5}(6,:) = [33 -48 35]; |
|
97 |
- m.coordinate{5}(7,:) = [ -3, 0, 49]; |
|
98 |
- m.coordinate{5}(8,:) = [-36 33 28]; |
|
99 |
- m.coordinate{5}(9,:) = [-15, -93, -4]; |
|
100 |
- m.coordinate{5}(10,:) = [15, -90, 4]; |
|
101 |
- m.coordinate{5}(11,:) = [-39, -33, 67]; |
|
102 |
- m.coordinate{5}(12,:) = [27, -18, 74]; |
|
103 |
- m.coordinate{6}(1,:) = [-21, -69, 60]; |
|
104 |
- m.coordinate{6}(2,:) = [9, -72, 63]; |
|
105 |
- m.coordinate{6}(3,:) = [-24 -12 53]; |
|
106 |
- m.coordinate{6}(4,:) = [32 -12 56]; |
|
107 |
- m.coordinate{6}(5,:) = [-36 -39 35]; |
|
108 |
- m.coordinate{6}(6,:) = [42 -33 46]; |
|
109 |
- m.coordinate{6}(7,:) = [-6 3 49]; |
|
110 |
- m.coordinate{6}(8,:) = [-36 33 28]; |
|
111 |
- m.coordinate{6}(9,:) = [-12, -99, 0]; |
|
112 |
- m.coordinate{6}(10,:) = [9, -96, -7]; |
|
113 |
- m.coordinate{6}(11,:) = [-48, -27, 60]; |
|
114 |
- m.coordinate{6}(12,:) = [33, -33, 60]; |
|
115 |
- m.coordinate{7}(1,:) = [-21, -60, 56]; |
|
116 |
- m.coordinate{7}(2,:) = [12, -69, 60]; |
|
117 |
- m.coordinate{7}(3,:) = [-24, -12, 49]; |
|
118 |
- m.coordinate{7}(4,:) = [24, -6, 49]; |
|
119 |
- m.coordinate{7}(5,:) = [-33 -45 46]; |
|
120 |
- m.coordinate{7}(6,:) = [30, -51, 49]; |
|
121 |
- m.coordinate{7}(7,:) = [0, 9, 42]; |
|
122 |
- m.coordinate{7}(8,:) = [-30 36 35]; |
|
123 |
- m.coordinate{7}(9,:) = [-3, -84, -4]; |
|
124 |
- m.coordinate{7}(10,:) = [18, -87, -7]; |
|
125 |
- m.coordinate{7}(11,:) = [-36, -30, 63]; |
|
126 |
- m.coordinate{7}(12,:) = [42, -27, 60]; |
|
127 |
- m.coordinate{8}(1,:) = [-27, -63, 53]; |
|
128 |
- m.coordinate{8}(2,:) = [18, -66, 56]; |
|
129 |
- m.coordinate{8}(3,:) = [-21, -6, 56]; |
|
130 |
- m.coordinate{8}(4,:) = [27 -6 53]; |
|
131 |
- m.coordinate{8}(5,:) = [-36, -51, 49]; |
|
132 |
- m.coordinate{8}(6,:) = [45, -39, 53]; |
|
133 |
- m.coordinate{8}(7,:) = [-9, 9, 53]; |
|
134 |
- m.coordinate{8}(8,:) = [-36 24 25]; |
|
135 |
- m.coordinate{8}(9,:) = [0, -90, 4]; |
|
136 |
- m.coordinate{8}(10,:) = [0, -90, 4]; |
|
137 |
- m.coordinate{8}(11,:) = [-42, -27, 67]; |
|
138 |
- m.coordinate{8}(12,:) = [51, -27, 63]; |
|
139 |
- |
|
140 |
- m = class(m,'SubjectRoiMapping'); |
|
141 |
- |
|
142 |
-elseif isa(argv,'SubjectRoiMapping') % copy |
|
143 |
- m = argv; |
|
144 |
- |
|
145 |
-else |
|
146 |
-error('SubjectRoiMapping:Constructor:NoSuchConstructor','There is no constructor matching your argv'); |
|
147 |
-end |
|
148 | 0 |
\ No newline at end of file |
... | ... |
@@ -1,116 +0,0 @@ |
1 |
-function m = SubjectRoiMapping(argv) |
|
2 |
-%SUBJECTROIMAPPING Subject to ROI to Coordinate Mapping Class Constructor |
|
3 |
-% m = SUBJECTROIMAPPING() creates a predefined ROI Coordinate Mapping. |
|
4 |
-% normally called without any arguments |
|
5 |
- |
|
6 |
-if nargin == 0 |
|
7 |
- m.subject{1}='HIGL5'; |
|
8 |
- m.subject{2}='AXLI5'; |
|
9 |
- m.subject{3}='SHWA5'; |
|
10 |
- m.subject{4}='DAPR5'; |
|
11 |
- m.subject{5}='5IGKA'; |
|
12 |
- m.subject{6}='5RAEL'; |
|
13 |
- m.subject{7}='5JEZI'; |
|
14 |
- m.subject{8}='5PK002'; |
|
15 |
- m.subjectNameMap = java.util.HashMap; |
|
16 |
- for subj = 1:size(m.subject,2) |
|
17 |
- m.subjectNameMap.put(m.subject{subj},subj); |
|
18 |
- end |
|
19 |
- |
|
20 |
- |
|
21 |
- |
|
22 |
- m.roi_name{1}='SPL l'; |
|
23 |
- m.roi_name{2}='SPL r'; |
|
24 |
- m.roi_name{3}='dPM l'; |
|
25 |
- m.roi_name{4}='dPM r'; |
|
26 |
- m.roi_name{5}='DLPFC l'; |
|
27 |
- m.roi_name{6}='DLPFC r'; |
|
28 |
- m.roi_name{7}='SMA l'; |
|
29 |
- m.roi_name{8}='antIPS l'; |
|
30 |
- |
|
31 |
- m.roiNameMap = java.util.HashMap; |
|
32 |
- for roi = 1:size(m.roi_name,2) |
|
33 |
- m.roiNameMap.put(m.roi_name{roi},roi); |
|
34 |
- end |
|
35 |
- |
|
36 |
- |
|
37 |
- % Koordinaten aller Probanden A von den ROIS B: rois{A}(B,[x y z in mm]) |
|
38 |
- m.coordinate{1}(1,:)=[-15 -66 60]; |
|
39 |
- m.coordinate{1}(2,:)=[18 -63 63]; |
|
40 |
- m.coordinate{1}(3,:)=[-24 -6 57]; |
|
41 |
- m.coordinate{1}(4,:)=[27 -9 54]; |
|
42 |
- m.coordinate{1}(5,:)=[-42 30 39]; |
|
43 |
- m.coordinate{1}(6,:)=[36 45 21]; |
|
44 |
- m.coordinate{1}(7,:)=[-3 6 60]; |
|
45 |
- m.coordinate{1}(8,:)=[-33 -39 42]; |
|
46 |
- |
|
47 |
- m.coordinate{2}(1,:)=[-15 -66 66]; |
|
48 |
- m.coordinate{2}(2,:)=[15 -69 63]; |
|
49 |
- m.coordinate{2}(3,:)=[-30 -9 63]; |
|
50 |
- m.coordinate{2}(4,:)=[33 -6 60]; |
|
51 |
- m.coordinate{2}(5,:)=[-30 39 42]; |
|
52 |
- m.coordinate{2}(6,:)=[36 36 42]; |
|
53 |
- m.coordinate{2}(7,:)=[-3 0 63]; |
|
54 |
- m.coordinate{2}(8,:)=[-39 -42 60]; |
|
55 |
- |
|
56 |
- m.coordinate{3}(1,:)=[-18 -63 57]; |
|
57 |
- m.coordinate{3}(2,:)=[15 -69 60]; |
|
58 |
- m.coordinate{3}(3,:)=[-24 -12 51]; |
|
59 |
- m.coordinate{3}(4,:)=[27 -12 51]; |
|
60 |
- m.coordinate{3}(5,:)=[-27 36 42]; |
|
61 |
- m.coordinate{3}(6,:)=[30 42 42]; |
|
62 |
- m.coordinate{3}(7,:)=[-3 -6 63]; |
|
63 |
- m.coordinate{3}(8,:)=[-36 -51 60]; |
|
64 |
- |
|
65 |
- m.coordinate{4}(1,:)=[-30 -54 63]; |
|
66 |
- m.coordinate{4}(2,:)=[18 -60 54]; |
|
67 |
- m.coordinate{4}(3,:)=[-33 -6 57]; |
|
68 |
- m.coordinate{4}(4,:)=[27 -6 57]; |
|
69 |
- m.coordinate{4}(5,:)=[-27 33 27]; |
|
70 |
- m.coordinate{4}(6,:)=[nan nan nan]; |
|
71 |
- m.coordinate{4}(7,:)=[-6 3 60]; |
|
72 |
- m.coordinate{4}(8,:)=[-33 -51 54]; |
|
73 |
- |
|
74 |
- m.coordinate{5}(1,:)=[-21 -63 66]; |
|
75 |
- m.coordinate{5}(2,:)=[24 -54 66]; |
|
76 |
- m.coordinate{5}(3,:)=[-30 -6 51]; |
|
77 |
- m.coordinate{5}(4,:)=[21 0 57]; |
|
78 |
- m.coordinate{5}(5,:)=[-33 36 27]; |
|
79 |
- m.coordinate{5}(6,:)=[33 45 30]; |
|
80 |
- m.coordinate{5}(7,:)=[-6 -3 54]; |
|
81 |
- m.coordinate{5}(8,:)=[-39 -42 54]; |
|
82 |
- |
|
83 |
- m.coordinate{6}(1,:)=[-15 -69 54]; |
|
84 |
- m.coordinate{6}(2,:)=[21 -63 57]; |
|
85 |
- m.coordinate{6}(3,:)=[-24 -9 66]; |
|
86 |
- m.coordinate{6}(4,:)=[33 -6 66]; |
|
87 |
- m.coordinate{6}(5,:)=[-33 30 39]; |
|
88 |
- m.coordinate{6}(6,:)=[33 45 30]; |
|
89 |
- m.coordinate{6}(7,:)=[-3 0 54]; |
|
90 |
- m.coordinate{6}(8,:)=[-39 -42 39]; |
|
91 |
- |
|
92 |
- m.coordinate{7}(1,:)=[-12 -66 63]; |
|
93 |
- m.coordinate{7}(2,:)=[15 -66 63]; |
|
94 |
- m.coordinate{7}(3,:)=[-21 -9 54]; |
|
95 |
- m.coordinate{7}(4,:)=[30 -9 57]; |
|
96 |
- m.coordinate{7}(5,:)=[-39 33 33]; |
|
97 |
- m.coordinate{7}(6,:)=[39 30 33]; |
|
98 |
- m.coordinate{7}(7,:)=[-6 0 54]; |
|
99 |
- m.coordinate{7}(8,:)=[-39 -45 54]; |
|
100 |
- |
|
101 |
- m.coordinate{8}(1,:)=[-15 -72 51]; |
|
102 |
- m.coordinate{8}(2,:)=[15 -75 51]; |
|
103 |
- m.coordinate{8}(3,:)=[-27 -12 66]; |
|
104 |
- m.coordinate{8}(4,:)=[33 -18 69]; |
|
105 |
- m.coordinate{8}(5,:)=[-48 21 33]; |
|
106 |
- m.coordinate{8}(6,:)=[42 33 36]; |
|
107 |
- m.coordinate{8}(7,:)=[-3 -6 57]; |
|
108 |
- m.coordinate{8}(8,:)=[-39 -48 45]; |
|
109 |
- m = class(m,'SubjectRoiMapping'); |
|
110 |
- |
|
111 |
-elseif isa(argv,'SubjectRoiMapping') % copy |
|
112 |
- m = argv; |
|
113 |
- |
|
114 |
-else |
|
115 |
-error('SubjectRoiMapping:Constructor:NoSuchConstructor','There is no constructor matching your argv'); |
|
116 |
-end |
|
117 | 0 |
\ No newline at end of file |
... | ... |
@@ -1,18 +0,0 @@ |
1 |
-function coord = getCoordinate(mapping,subject,roi) |
|
2 |
-% getCoordinate(SubjectRoiMapping,subjectID,roiID) returns the coordinate |
|
3 |
-% for the given subject and the given roi. Both subjectID and roiID can |
|
4 |
-% either be a valid Name (see get[Sunject|Roi]NameCellList(mapping) ) or |
|
5 |
-% the corresponding numerical ID. |
|
6 |
- |
|
7 |
-if ischar(subject) && ischar(roi) |
|
8 |
- coord = getCoordinate(mapping,getSubjectID(mapping,subject),getRoiID(mapping,roi)); |
|
9 |
-elseif isnumeric(subject) && ischar(roi) |
|
10 |
- coord = getCoordinate(mapping,subject,getRoiID(mapping,roi)); |
|
11 |
-elseif ischar(subject) && isnumeric(roi) |
|
12 |
- coord = getCoordinate(mapping,getSubjectID(mapping,subject),roi); |
|
13 |
-elseif isnumeric(subject) && isnumeric(roi) |
|
14 |
- coord = mapping.coordinate{subject}(roi,:); |
|
15 |
-else |
|
16 |
- error('SubjectRoiMapping:getCoordinate:BadArguments','Subject has to be a valid subject identifier (either char or integer)'); |
|
17 |
-end |
|
18 |
- |
... | ... |
@@ -1,7 +0,0 @@ |
1 |
-function id = getRoiID(mapping,roiName) |
|
2 |
-if mapping.roiNameMap.containsKey(roiName) |
|
3 |
- id = mapping.roiNameMap.get(roiName); |
|
4 |
-else |
|
5 |
- error('SubjectRoiMapping:getRoiID:noSuchName','this Mapping does not contain a ROI ''%s''',roiName); |
|
6 |
-end |
|
7 |
-end |
|
8 | 0 |
\ No newline at end of file |
... | ... |
@@ -1,7 +0,0 @@ |
1 |
-function id = getSubjectID(mapping,subjectName) |
|
2 |
-if mapping.subjectNameMap.containsKey(subjectName) |
|
3 |
- id = mapping.subjectNameMap.get(subjectName); |
|
4 |
-else |
|
5 |
- error('SubjectRoiMapping:getSubjectID:noSuchName','this Mapping does not contain a Name ''%s''',subjectName); |
|
6 |
-end |
|
7 |
-end |
|
8 | 0 |
\ No newline at end of file |
... | ... |
@@ -1,145 +0,0 @@ |
1 |
-this = struct; |
|
2 |
- |
|
3 |
-this.ID = 'Choice24'; |
|
4 |
-this.base_path = fullfile('D:','Analyze','Choice','24pilot'); |
|
5 |
- |
|
6 |
-this.default.selectedSubject = 1; |
|
7 |
-this.default.smoothed = 1; |
|
8 |
-this.default.multisubject = 'single'; |
|
9 |
-this.default.pststart = -15; |
|
10 |
-this.default.pstend = 40; |
|
11 |
-this.default.baselinestart = -3; |
|
12 |
-this.default.baselineend = -1; |
|
13 |
-this.default.frameshiftstart = -1; |
|
14 |
-this.default.frameshiftend = 35; |
|
15 |
-this.default.frameshiftdur = 1; |
|
16 |
- |
|
17 |
-% strings are parsed by sprintf! |
|
18 |
-this.default.classdefstring = 'left,\t[9,11,13],\t-2 ;\nright,\t[10,12,14],\t-1;'; |
|
19 |
-this.default.voxelstring = 'SPL l,\t[ 0, 0, 0];\nSPL r,\t[ 0, 0, 0];\n'; |
|
20 |
- |
|
21 |
-% this string is used directly. |
|
22 |
-this.default.svmoptstring = '-s 0 -t 0 -v 6 -c 1'; |
|
23 |
- |
|
24 |
- |
|
25 |
-% SUBJECT DEFINITIONS |
|
26 |
-this.subject{1} ='AI020'; |
|
27 |
-this.subject{2} ='BD001'; |
|
28 |
-this.subject{3} ='HG027'; |
|
29 |
-this.subject{4} ='IK011'; |
|
30 |
-this.subject{5} ='JZ006'; % Guter Proband |
|
31 |
-this.subject{6} ='LB001'; |
|
32 |
-this.subject{7} ='SW007'; |
|
33 |
-this.subject{8} ='VW005'; |
|
34 |
- |
|
35 |
-this.roi_name{1} ='SPL l'; % <-Parietalkortex links |
|
36 |
-this.roi_name{2} ='SPL r'; % <-Parietalkortex rechts |
|
37 |
-this.roi_name{3} ='PMd l'; |
|
38 |
-this.roi_name{4} ='PMd r'; |
|
39 |
-this.roi_name{5} ='IPSa l'; |
|
40 |
-this.roi_name{6} ='IPSa r'; |
|
41 |
-this.roi_name{7} ='SMA'; |
|
42 |
-this.roi_name{8} ='DLPFC'; |
|
43 |
-this.roi_name{9} ='V1 l'; |
|
44 |
-this.roi_name{10} ='V1 r'; |
|
45 |
-this.roi_name{11} ='M1 l'; % <-Motorischer Cortex l |
|
46 |
-this.roi_name{12} ='M1 r'; % <-Motorischer Cortex r |
|
47 |
- |
|
48 |
- |
|
49 |
-% Koordinaten aller Probanden A von den ROIS B: rois{A}(B,[x y z in mm]) |
|
50 |
-this.coordinate{1}(1,:) = [-18, -78, 53]; |
|
51 |
-this.coordinate{1}(2,:) = [12, -69, 46]; |
|
52 |
-this.coordinate{1}(3,:) = [-21, -12, 49]; |
|
53 |
-this.coordinate{1}(4,:) = [30, -12, 53]; |
|
54 |
-this.coordinate{1}(5,:) = [-30, -51, 39]; |
|
55 |
-this.coordinate{1}(6,:) = [ 33, -60, 49]; |
|
56 |
-this.coordinate{1}(7,:) = [ -9, 6, 46]; |
|
57 |
-this.coordinate{1}(8,:) = [-27 27 48]; |
|
58 |
-this.coordinate{1}(9,:) = [-6, -90, -7]; |
|
59 |
-this.coordinate{1}(10,:) = [12, -90, -4]; |
|
60 |
-this.coordinate{1}(11,:) = [-57, -24, 49]; |
|
61 |
-this.coordinate{1}(12,:) = [42, -24, 60]; |
|
62 |
-this.coordinate{2}(1,:) = [-9, -72, 56]; |
|
63 |
-this.coordinate{2}(2,:) = [15, -72, 60]; |
|
64 |
-this.coordinate{2}(3,:) = [-30, -9, 53]; |
|
65 |
-this.coordinate{2}(4,:) = [ 30, -9, 49]; |
|
66 |
-this.coordinate{2}(5,:) = [-42 -36 39]; |
|
67 |
-this.coordinate{2}(6,:) = [30 -36 42]; |
|
68 |
-this.coordinate{2}(7,:) = [ -3, 6, 53]; |
|
69 |
-this.coordinate{2}(8,:) = [-27 30 28]; |
|
70 |
-this.coordinate{2}(9,:) = [-6, -81, -7]; |
|
71 |
-this.coordinate{2}(10,:) = [9, -78, -7]; |
|
72 |
-this.coordinate{2}(11,:) = [-51, -24, 60]; |
|
73 |
-this.coordinate{2}(12,:) = [48, -21, 63]; |
|
74 |
-this.coordinate{3}(1,:) = [-15, -72, 60]; |
|
75 |
-this.coordinate{3}(2,:) = [15, -66, 63]; |
|
76 |
-this.coordinate{3}(3,:) = [-27, -12, 56]; |
|
77 |
-this.coordinate{3}(4,:) = [24 -15 53]; |
|
78 |
-this.coordinate{3}(5,:) = [-36 -36 42]; |
|
79 |
-this.coordinate{3}(6,:) = [30 -39 35]; |
|
80 |
-this.coordinate{3}(7,:) = [-9, 3, 53]; |
|
81 |
-this.coordinate{3}(8,:) = [-30 30 28]; |
|
82 |
-this.coordinate{3}(9,:) = [-3, -90, 4]; |
|
83 |
-this.coordinate{3}(10,:) = [15, -99, 14]; |
|
84 |
-this.coordinate{3}(11,:) = [-27, -27, 74]; |
|
85 |
-this.coordinate{3}(12,:) = [36, -27, 70]; |
|
86 |
-this.coordinate{4}(1,:) = [-21, -69, 63]; |
|
87 |
-this.coordinate{4}(2,:) = [21, -69, 63]; |
|
88 |
-this.coordinate{4}(3,:) = [-33 -12 53]; |
|
89 |
-this.coordinate{4}(4,:) = [12 -9 60]; |
|
90 |
-this.coordinate{4}(5,:) = [-33 -35 46]; |
|
91 |
-this.coordinate{4}(6,:) = [42 -36 39]; |
|
92 |
-this.coordinate{4}(7,:) = [-3 0 49]; |
|
93 |
-this.coordinate{4}(8,:) = [-33 33 28]; |
|
94 |
-this.coordinate{4}(9,:) = [-3, -90, -7]; |
|
95 |
-this.coordinate{4}(10,:) = [9, -81, -7]; |
|
96 |
-this.coordinate{4}(11,:) = [-39, -27, 53]; |
|
97 |
-this.coordinate{4}(12,:) = [51, -24, 60]; |
|
98 |
-this.coordinate{5}(1,:) = [-12 -66 63]; |
|
99 |
-this.coordinate{5}(2,:) = [12, -75, 60]; |
|
100 |
-this.coordinate{5}(3,:) = [-24, -12, 53]; |
|
101 |
-this.coordinate{5}(4,:) = [27, -9, 60]; |
|
102 |
-this.coordinate{5}(5,:) = [-42 -42 35]; |
|
103 |
-this.coordinate{5}(6,:) = [33 -48 35]; |
|
104 |
-this.coordinate{5}(7,:) = [ -3, 0, 49]; |
|
105 |
-this.coordinate{5}(8,:) = [-36 33 28]; |
|
106 |
-this.coordinate{5}(9,:) = [-15, -93, -4]; |
|
107 |
-this.coordinate{5}(10,:) = [15, -90, 4]; |
|
108 |
-this.coordinate{5}(11,:) = [-39, -33, 67]; |
|
109 |
-this.coordinate{5}(12,:) = [27, -18, 74]; |
|
110 |
-this.coordinate{6}(1,:) = [-21, -69, 60]; |
|
111 |
-this.coordinate{6}(2,:) = [9, -72, 63]; |
|
112 |
-this.coordinate{6}(3,:) = [-24 -12 53]; |
|
113 |
-this.coordinate{6}(4,:) = [32 -12 56]; |
|
114 |
-this.coordinate{6}(5,:) = [-36 -39 35]; |
|
115 |
-this.coordinate{6}(6,:) = [42 -33 46]; |
|
116 |
-this.coordinate{6}(7,:) = [-6 3 49]; |
|
117 |
-this.coordinate{6}(8,:) = [-36 33 28]; |
|
118 |
-this.coordinate{6}(9,:) = [-12, -99, 0]; |
|
119 |
-this.coordinate{6}(10,:) = [9, -96, -7]; |
|
120 |
-this.coordinate{6}(11,:) = [-48, -27, 60]; |
|
121 |
-this.coordinate{6}(12,:) = [33, -33, 60]; |
|
122 |
-this.coordinate{7}(1,:) = [-21, -60, 56]; |
|
123 |
-this.coordinate{7}(2,:) = [12, -69, 60]; |
|
124 |
-this.coordinate{7}(3,:) = [-24, -12, 49]; |
|
125 |
-this.coordinate{7}(4,:) = [24, -6, 49]; |
|
126 |
-this.coordinate{7}(5,:) = [-33 -45 46]; |
|
127 |
-this.coordinate{7}(6,:) = [30, -51, 49]; |
|
128 |
-this.coordinate{7}(7,:) = [0, 9, 42]; |
|
129 |
-this.coordinate{7}(8,:) = [-30 36 35]; |
|
130 |
-this.coordinate{7}(9,:) = [-3, -84, -4]; |
|
131 |
-this.coordinate{7}(10,:) = [18, -87, -7]; |
|
132 |
-this.coordinate{7}(11,:) = [-36, -30, 63]; |
|
133 |
-this.coordinate{7}(12,:) = [42, -27, 60]; |
|
134 |
-this.coordinate{8}(1,:) = [-27, -63, 53]; |
|
135 |
-this.coordinate{8}(2,:) = [18, -66, 56]; |
|
136 |
-this.coordinate{8}(3,:) = [-21, -6, 56]; |
|
137 |
-this.coordinate{8}(4,:) = [27 -6 53]; |
|
138 |
-this.coordinate{8}(5,:) = [-36, -51, 49]; |
|
139 |
-this.coordinate{8}(6,:) = [45, -39, 53]; |
|
140 |
-this.coordinate{8}(7,:) = [-9, 9, 53]; |
|
141 |
-this.coordinate{8}(8,:) = [-36 24 25]; |
|
142 |
-this.coordinate{8}(9,:) = [0, -90, 4]; |
|
143 |
-this.coordinate{8}(10,:) = [0, -90, 4]; |
|
144 |
-this.coordinate{8}(11,:) = [-42, -27, 67]; |
|
145 |
- this.coordinate{8}(12,:) = [51, -27, 63]; |
|
146 | 0 |