Skip to content

Commit 3f84d26

Browse files
committed
update some default parameters
1 parent 90a36c0 commit 3f84d26

File tree

1 file changed

+16
-13
lines changed

1 file changed

+16
-13
lines changed

setParameters.m

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -23,26 +23,26 @@
2323
cfg.eyeTracker.do = false;
2424
cfg.audio.do = false;
2525

26-
cfg = setMonitor(cfg, cfg);
26+
cfg = setMonitor(cfg);
2727

2828
% Keyboards
29-
cfg = setKeyboards(cfg, cfg);
29+
cfg = setKeyboards(cfg);
3030

3131
% MRI settings
32-
cfg = setMRI(cfg, cfg);
32+
cfg = setMRI(cfg);
3333

3434
%% Experiment Design
3535
cfg.names = {'static', 'motion'};
3636
cfg.possibleDirections = [-1 1]; % 1 motion , -1 static
3737
cfg.numBlocks = size(cfg.possibleDirections, 2);
3838
cfg.numRepetitions = 1; % AT THE MOMENT IT IS NOT SET IN THE MAIN SCRIPT
39-
cfg.IBI = 0; % 8;
39+
cfg.IBI = .5; % 8;
4040
% Time between events in secs
41-
cfg.ISI = 0.1;
41+
cfg.ISI = 0.5;
4242
% Number of seconds before the motion stimuli are presented
43-
cfg.onsetDelay = 1;
43+
cfg.onsetDelay = .1;
4444
% Number of seconds after the end all the stimuli before ending the run
45-
cfg.endDelay = 1;
45+
cfg.endDelay = .1;
4646

4747
%% Visual Stimulation
4848

@@ -66,6 +66,7 @@
6666
% Diameter/length of side of aperture in Visual angles
6767
cfg.aperture.type = 'circle';
6868
cfg.aperture.width = []; % if left empty it will take the screen height
69+
cfg.aperture.xPos = 0;
6970

7071
%% Task(s)
7172

@@ -78,11 +79,13 @@
7879
cfg.fixation.type = 'cross';
7980
cfg.fixation.colorTarget = cfg.color.red;
8081
cfg.fixation.color = cfg.color.white;
81-
cfg.fixation.width = .15;
82+
cfg.fixation.width = 1;
8283
cfg.fixation.lineWidthPix = 2;
84+
cfg.fixation.xDisplacement = 0;
85+
cfg.fixation.yDisplacement = 0;
8386

8487
cfg.target.maxNbPerBlock = 2;
85-
cfg.target.duration = 0.15; % In secs
88+
cfg.target.duration = 0.05; % In secs
8689

8790
cfg.extraColumns = {'direction', 'speed', 'target', 'event', 'block'};
8891
end
@@ -122,11 +125,11 @@
122125
cfg.text.color = cfg.color.white;
123126

124127
% Monitor parameters
125-
cfg.screen.monitorWidth = 42; % in cm
126-
cfg.screen.monitorDistance = 134; % distance from the screen in cm
128+
cfg.screen.monitorWidth = 50; % in cm
129+
cfg.screen.monitorDistance = 40; % distance from the screen in cm
127130

128131
if strcmpi(cfg.testingDevice, 'mri')
129-
cfg.screen.monitorWidth = 42;
130-
cfg.screen.monitorDistance = 134;
132+
cfg.screen.monitorWidth = 50;
133+
cfg.screen.monitorDistance = 40;
131134
end
132135
end

0 commit comments

Comments
 (0)