Skip to content

Commit de602fd

Browse files
committed
add changes from last session 18-03-2022
1 parent 00f9453 commit de602fd

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

setParameters.m

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,23 @@
1616

1717
%% Debug mode settings
1818

19-
cfg.debug.do = false; % To test the script out of the scanner, skip PTB sync
19+
cfg.debug.do = 1; % To test the script out of the scanner, skip PTB sync
2020
cfg.debug.smallWin = false; % To test on a part of the screen, change to 1
2121
cfg.debug.transpWin = false; % To test with trasparent full size screen
2222

2323
cfg.verbose = 1;
24-
cfg.skipSyncTests = 1;
24+
cfg.skipSyncTests = 0;
2525

2626
% cfg.audio.devIdx = 5; %3 %11
27+
28+
% fixation cross displacement in degrees of visual angles
29+
% this will also shift the whole FOV
30+
cfg.fixation.xDisplacement = -1.171228;
31+
cfg.fixation.yDisplacement = -0.620751;
2732

2833
%% Engine parameters
2934
cfg.testingDevice = 'mri';
30-
cfg.eyeTracker.do = false;
35+
cfg.eyeTracker.do = true;
3136
cfg.audio.do = true;
3237

3338
cfg = setMonitor(cfg);
@@ -36,7 +41,7 @@
3641

3742
cfg = setMRI(cfg);
3843

39-
cfg.pacedByTriggers.do = true;
44+
cfg.pacedByTriggers.do = false;
4045

4146
%% Experiment Design
4247

@@ -61,7 +66,7 @@
6166
% cfg.timing.eventDuration = 0.850; % second
6267

6368
% Time between blocs in secs
64-
cfg.timing.IBI = 0;
69+
cfg.timing.IBI = 5.4;
6570
% Time between events in secs
6671
cfg.timing.ISI = 0;
6772
% Number of seconds before the motion stimuli are presented
@@ -107,8 +112,8 @@
107112
cfg.fixation.color = cfg.color.white;
108113
cfg.fixation.width = .5;
109114
cfg.fixation.lineWidthPix = 3;
110-
cfg.fixation.xDisplacement = 0;
111-
cfg.fixation.yDisplacement = 0;
115+
% cfg.fixation.xDisplacement = 0;
116+
% cfg.fixation.yDisplacement = 0;
112117

113118
cfg.target.maxNbPerBlock = 1;
114119
cfg.target.duration = 0.5; % In secs
@@ -155,7 +160,7 @@
155160
function cfg = setMRI(cfg)
156161
% letter sent by the trigger to sync stimulation and volume acquisition
157162
cfg.mri.triggerKey = 't';
158-
cfg.mri.triggerNb = 0;
163+
cfg.mri.triggerNb = 5;
159164

160165
cfg.mri.repetitionTime = 1.8;
161166

0 commit comments

Comments
 (0)