Skip to content

Commit 48afb03

Browse files
committed
prepare setParameters for MT and MST
1 parent 67ee48d commit 48afb03

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

setParameters.m

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,15 @@
4141
% cfg.design.motionType = 'translation';
4242
% cfg.design.motionType = 'radial';
4343
cfg.design.motionType = 'translation';
44+
4445
cfg.design.motionDirections = [0 0 180 180];
4546
cfg.design.names = {'static'; 'motion'};
4647
cfg.design.nbRepetitions = 8;
4748
cfg.design.nbEventsPerBlock = 12; % DO NOT CHANGE
49+
50+
if isfield(cfg.design, 'localizer') && strcmpi(cfg.design.localizer, 'MT_MST')
51+
cfg.design.names = {'fixation_right'; 'fixation_left'};
52+
end
4853

4954
%% Timing
5055

@@ -103,6 +108,12 @@
103108
cfg.aperture.type = 'none';
104109
cfg.aperture.width = []; % if left empty it will take the screen height
105110
cfg.aperture.xPos = 0;
111+
112+
if isfield(cfg.design, 'localizer') && strcmpi(cfg.design.localizer, 'MT_MST')
113+
cfg.aperture.type = 'circle';
114+
cfg.aperture.width = 3; % if left empty it will take the screen height
115+
cfg.aperture.xPos = 4;
116+
end
106117

107118
%% Task(s)
108119

0 commit comments

Comments
 (0)