forked from jonmatthis/pupilShadow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
loadSessionInfo.m
287 lines (233 loc) · 13 KB
/
loadSessionInfo.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
function [ sesh ] = loadSessionInfo( sessionID, condID)
sesh = [];
switch sessionID
case '2018-04-05-S03'
sesh.legLength = 1035; %right ASIS to right Medial Maleolus
switch condID
case 'Binocular'
sesh.shadowTakeName = 'take0002'; %shadow Take#
sesh.pupilExportDir = '001';
sesh.vorFrames = 74446:78176; %frames where sub is VORing (Pupil Frames)
% 5338:10660, 74430:78150, 151700:156700
sesh.calibFrame = sesh.vorFrames(1); %frame where sub is lookin good at the primary calibration marker
sesh.randot = 7;
sesh.eyes = ones(28,2);
sesh.eyes([1:5,26],1) = 0; % right eye only for first 5 subsections
sesh.eyes(25,2) = 0; % left eye only for this subsection (flat)
case 'Monocular'
sesh.shadowTakeName = 'take0003'; %shadow Take#
sesh.pupilExportDir = '000';
sesh.vorFrames = 1128:5288; %frames where sub is VORing (Pupil Frames)
% 1128:5288, 54660:58300, 130900:135000
sesh.calibFrame = sesh.vorFrames(1); %frame where sub is lookin good at the primary calibration marker
sesh.randot = 5;
sesh.eyes = [zeros(28,1),ones(28,1)]; % right eye only for monocular
end
case '2018-04-08-S04'
sesh.legLength=1010;
switch condID
case 'Binocular'
sesh.shadowTakeName = 'take0005'; %shadow Take#
sesh.pupilExportDir = '000';
sesh.vorFrames = 65660:69180; %frames where sub is VORing (Pupil Frames)
sesh.calibFrame = sesh.vorFrames(1); %frame where sub is lookin good at the primary calibration marker
sesh.randot = 10;
sesh.eyes = ones(26,2);
case 'Monocular'
sesh.shadowTakeName = 'take0003'; %shadow Take#
sesh.pupilExportDir = '003';
sesh.vorFrames = 1128:4855; %frames where sub is VORing (Pupil Frames)
sesh.calibFrame = sesh.vorFrames(1); %frame where sub is lookin good at the primary calibration marker
sesh.randot = 2;
sesh.eyes = [zeros(26,1),ones(26,1)];
end
case '2018-04-09-A01'
sesh.legLength = 900; %right ASIS to right Medial Maleolus
switch condID
case 'Binocular2'
sesh.shadowTakeName = 'take0005'; %shadow Take#
sesh.pupilExportDir = '000';
sesh.vorFrames = 1863:3855; %frames where sub is VORing (Pupil Frames)
% 1863:4907, 55010:57800, 130100:132900
sesh.calibFrame = sesh.vorFrames(1); %frame where sub is lookin good at the primary calibration marker
sesh.randot = 3;
sesh.eyes = [zeros(23,1),ones(23,1)]; % right eye dominant stereo-impaired
end
case '2018-04-10-S05'
sesh.legLength = 965; %right ASIS to right Medial Maleolus
switch condID
case 'Binocular'
sesh.shadowTakeName = 'take0001'; %shadow Take#
sesh.pupilExportDir = '000';
sesh.vorFrames = 8055:10580; %frames where sub is VORing (Pupil Frames)
sesh.calibFrame = sesh.vorFrames(1); %frame where sub is lookin good at the primary calibration marker
sesh.randot = 6;
sesh.eyes = ones(23,2);
sesh.eyes(5,2)=0; % left eye only
sesh.eyes(19,1) = 0; % right eye only
case 'Monocular'
sesh.shadowTakeName = 'take0002'; %shadow Take#
sesh.pupilExportDir = '000';
sesh.vorFrames = 1728:3627; %frames where sub is VORing (Pupil Frames)
sesh.calibFrame = sesh.vorFrames(1); %frame where sub is lookin good at the primary calibration marker
sesh.randot = 0;
sesh.eyes = [zeros(22,1),ones(22,1)];
end
case '2018-04-12-S06'
sesh.legLength = 1035; %right ASIS to right Medial Maleolus
switch condID
case 'Binocular'
sesh.shadowTakeName = 'take0003'; %shadow Take#
sesh.pupilExportDir = '000';
%%%NOTE THAT THESE FRAME NUMBERS CORRESPOND TO FRAME#'S
%%%*AFTER* RESAMPLING
sesh.vorFrames = 59840:62710; %frames where sub is VORing (Pupil Frames)
sesh.calibFrame = sesh.vorFrames(1); %frame where sub is lookin good at the primary calibration marker
sesh.randot = 9;
sesh.eyes = ones(24,2);
case 'Monocular'
sesh.shadowTakeName = 'take0001'; %shadow Take#
sesh.pupilExportDir = '000';
%%%NOTE THAT THESE FRAME NUMBERS CORRESPOND TO FRAME#'S
%%%*AFTER* RESAMPLING
sesh.vorFrames = 3134:6458; %frames where sub is VORing (Pupil Frames)
%
sesh.calibFrame = sesh.vorFrames(1); %frame where sub is lookin good at the primary calibration marker
sesh.randot = 5;
sesh.eyes = [zeros(24,1),ones(24,1)];
end
case '2018-04-20-A02'
sesh.legLength = 860; %right ASIS to right Medial Maleolus
switch condID
case 'Binocular'
sesh.shadowTakeName = 'take0004'; %shadow Take#
sesh.pupilExportDir = '000';
%%%NOTE THAT THESE FRAME NUMBERS CORRESPOND TO FRAME#'S
%%%*AFTER* RESAMPLING
sesh.vorFrames = 60380:63750; %frames where sub is VORing (Pupil Frames)
% 1863:4907, 55010:57800, 130100:132900
sesh.calibFrame = sesh.vorFrames(1); %frame where sub is lookin good at the primary calibration marker
sesh.randot = 3;
sesh.eyes = [zeros(23,1),ones(23,1)]; % right eye dominant stereo-impaired
end
case '2018-04-22-A03'
sesh.legLength = 930; %right ASIS to right Medial Maleolus
switch condID
case 'Binocular2'
sesh.shadowTakeName = 'take0002'; %shadow Take#
sesh.pupilExportDir = '000';
%%%NOTE THAT THESE FRAME NUMBERS CORRESPOND TO FRAME#'S
%%%*AFTER* RESAMPLING
sesh.vorFrames = 2489:5696; %frames where sub is VORing (Pupil Frames)
% 1863:4907, 55010:57800, 130100:132900
sesh.calibFrame = sesh.vorFrames(1); %frame where sub is lookin good at the primary calibration marker
sesh.randot = 5;
sesh.eyes = [zeros(26,1),ones(26,1)]; % right eye dominant stereo-impaired
end
case '2018-04-23-S07'
sesh.legLength = 810; %right ASIS to right Medial Maleolus
switch condID
case 'Binocular'
sesh.shadowTakeName = 'take0001'; %shadow Take#
sesh.pupilExportDir = '000';
%%%NOTE THAT THESE FRAME NUMBERS CORRESPOND TO FRAME#'S
%%%*AFTER* RESAMPLING
sesh.vorFrames = 11390:15180; %frames where sub is VORing (Pupil Frames)
sesh.calibFrame = sesh.vorFrames(1); %frame where sub is lookin good at the primary calibration marker
sesh.randot = 10;
sesh.eyes = ones(24,2);
case 'Monocular'
sesh.shadowTakeName = 'take0002'; %shadow Take#
sesh.pupilExportDir = '000';
%%%NOTE THAT THESE FRAME NUMBERS CORRESPOND TO FRAME#'S
%%%*AFTER* RESAMPLING
sesh.vorFrames = 5235:7176; %frames where sub is VORing (Pupil Frames)
%
sesh.calibFrame = sesh.vorFrames(1); %frame where sub is lookin good at the primary calibration marker
sesh.randot = 6;
sesh.eyes = [zeros(24,1),ones(24,1)];
end
case '2018-04-25-S08'
sesh.legLength = 850; %right ASIS to right Medial Maleolus
switch condID
case 'Binocular'
sesh.shadowTakeName = 'take0003'; %shadow Take#
sesh.pupilExportDir = '002';
%%%NOTE THAT THESE FRAME NUMBERS CORRESPOND TO FRAME#'S
%%%*AFTER* RESAMPLING
sesh.vorFrames = 114500:117600; %frames where sub is VORing (Pupil Frames)
sesh.calibFrame = sesh.vorFrames(1); %frame where sub is lookin good at the primary calibration marker
sesh.randot = 5;
sesh.eyes = ones(23,2);
case 'Monocular'
sesh.shadowTakeName = 'take0002'; %shadow Take#
sesh.pupilExportDir = '000';
%%%NOTE THAT THESE FRAME NUMBERS CORRESPOND TO FRAME#'S
%%%*AFTER* RESAMPLING
sesh.vorFrames = 54060:57230; %frames where sub is VORing (Pupil Frames)
%
sesh.calibFrame = sesh.vorFrames(1); %frame where sub is lookin good at the primary calibration marker
sesh.randot = 3;
sesh.eyes = [zeros(22,1),ones(22,1)];
end
case '2018-04-26-A04'
sesh.legLength = 980; %right ASIS to right Medial Maleolus
switch condID
case 'Binocular'
sesh.shadowTakeName = 'take0001'; %shadow Take#
sesh.pupilExportDir = '000';
%%%NOTE THAT THESE FRAME NUMBERS CORRESPOND TO FRAME#'S
%%%*AFTER* RESAMPLING
sesh.vorFrames = 55730:59850; %frames where sub is VORing (Pupil Frames)
% 1863:4907, 55010:57800, 130100:132900
sesh.calibFrame = sesh.vorFrames(1); %frame where sub is lookin good at the primary calibration marker
sesh.randot = 0;
sesh.eyes = [ones(24,1), zeros(24,1)]; % left eye dominant stereo-impaired
end
case '2018-04-27-S09'
sesh.legLength = 900; %right ASIS to right Medial Maleolus
switch condID
case 'Binocular'
sesh.shadowTakeName = 'take0001'; %shadow Take#
sesh.pupilExportDir = '000';
%%%NOTE THAT THESE FRAME NUMBERS CORRESPOND TO FRAME#'S
%%%*AFTER* RESAMPLING
sesh.vorFrames = 168100:169700; %frames where sub is VORing (Pupil Frames)
sesh.calibFrame = sesh.vorFrames(1); %frame where sub is lookin good at the primary calibration marker
sesh.randot = 8;
sesh.eyes = ones(22,2);
case 'Monocular'
sesh.shadowTakeName = 'take0002'; %shadow Take#
sesh.pupilExportDir = '000';
%%%NOTE THAT THESE FRAME NUMBERS CORRESPOND TO FRAME#'S
%%%*AFTER* RESAMPLING
sesh.vorFrames = 51540:54030; %frames where sub is VORing (Pupil Frames)
%
sesh.calibFrame = sesh.vorFrames(1); %frame where sub is lookin good at the primary calibration marker
sesh.randot = 5;
sesh.eyes = [zeros(21,1), ones(21,1)];
end
case '2018-05-06-S10'
sesh.legLength = 965; %right ASIS to right Medial Maleolus
switch condID
case 'Binocular'
sesh.shadowTakeName = 'take0002'; %shadow Take#
sesh.pupilExportDir = '000';
%%%NOTE THAT THESE FRAME NUMBERS CORRESPOND TO FRAME#'S
%%%*AFTER* RESAMPLING
sesh.vorFrames = 3742:6906; %frames where sub is VORing (Pupil Frames)
sesh.calibFrame = sesh.vorFrames(1); %frame where sub is lookin good at the primary calibration marker
sesh.randot = 6;
sesh.eyes = ones(26,2);
case 'Monocular'
sesh.shadowTakeName = 'take0001'; %shadow Take#
sesh.pupilExportDir = '000';
%%%NOTE THAT THESE FRAME NUMBERS CORRESPOND TO FRAME#'S
%%%*AFTER* RESAMPLING
sesh.vorFrames = 2831:7322; %frames where sub is VORing (Pupil Frames)
%
sesh.calibFrame = sesh.vorFrames(1); %frame where sub is lookin good at the primary calibration marker
sesh.randot = 0;
sesh.eyes = [zeros(26,1),ones(26,1)];
end
end