-
Notifications
You must be signed in to change notification settings - Fork 9
/
cfgMST.m
44 lines (34 loc) · 1.36 KB
/
cfgMST.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
function cfg = cfgMST(cfg)
%
% (C) Copyright 2020 CPP visual motion localizer developers
cfg.design.localizer = 'MT_MST';
cfg.design.nbRepetitions = 10;
cfg.design.nbEventsPerBlock = 10;
% in Liege is 0.6
% on macs is 0.3
cfg.timing.eventDuration = 0.6; % 0.6 seconds
%% variable FOV info
% in case the field of view is not properly centered or obstructed
%
% see https://github.com/cpp-lln-lab/estimate_visual_FOV.git
%
% set up configuration: ensure that the following fields are the same
% as when you ran the estimate_visual_FOV script
%
% cfg.testingDevice
% cfg.screen.monitorDistance
% cfg.screen.monitorWidth
% fixation cross displacement in degrees of visual angles
% this will also shift the whole FOV relative to the center of the screen
% Note: negative values will move things to the left and up.
cfg.fixation.xDisplacement = -3.676540;
cfg.fixation.yDisplacement = -0.499724;
% determines position of the fixation cross on the right / left
% should be a bit less than the: ( width of FOV ) / 2
cfg.design.xDisplacementFixation = 3;
% determines position of the dots on the left /
% should be a bit less than the: ( width of FOV ) / 2
cfg.design.xDisplacementAperture = 7;
% determines the width of the dot circle
cfg.aperture.width = 7;
end