-
Notifications
You must be signed in to change notification settings - Fork 3
/
hemifieldParams.m
executable file
·38 lines (30 loc) · 1.22 KB
/
hemifieldParams.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
function p = hemifieldParams
p.saveFile = 1;
p.testingLocation = 'laptop';
switch p.testingLocation
case 'laptop'
p.screenSize = [12 16]; % (in)
p.screenRes = [768 1024]; % 60 Hz. Must set screen to this!
p.viewDist = 19.5; % (in)
p.triggerCode = KbName('5%');
p.keyCodes = [KbName('1!') KbName('2@') KbName('3#') KbName('4$')];
otherwise
error('Testing location not found!')
end
p.numCycles = 8.5; % 9 % a cycle means one left-right cycle
p.cycleDuration = 32; % (s) each left or right block is cycleDuration/2
p.nWedgePhases = 2; % hemifields
p.flickRate = 8.0;
p.wedgeRadial = [0.3 30]; % radius (internal and external) of wedge (deg) eg. [0.5 12]
p.wedgePolar = 180*(pi/180); % (rad)
p.fixSize = 0.1; %0.1
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% custom mask
p.customMaskHeight = []; % in deg vis angle, [] if no custom mask
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
p.thetaCyc = 6; % Full cycles per pi (180 deg)
p.E = 0.05;
p.A = 0.8; % E=0.5, A=0.3 based on figure 9 in Dumoulin and Wandell, 2007 or 0.05 and 0.8, based on Michael's measurements
p.contrast = 1;
p.mappingType = 'hemifieldLR';
p.maskType = 'transparentWedge';