Skip to content

Commit f72bc6f

Browse files
committed
update to new tidy naming for timing
1 parent a550511 commit f72bc6f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

setParameters.m

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,15 @@
5050
% block length = (cfg.eventDuration + cfg.ISI) * cfg.design.nbEventsPerBlock
5151

5252
% Time between blocs in secs
53-
cfg.IBI = 1.8 * 3; % 8;
53+
cfg.timing.IBI = 1.8 * 3; % 8;
5454
% Time between events in secs
55-
cfg.ISI = 0.1;
55+
cfg.timing.ISI = 0.1;
5656
% Number of seconds before the motion stimuli are presented
57-
cfg.onsetDelay = .1;
57+
cfg.timing.onsetDelay = .1;
5858
% Number of seconds after the end all the stimuli before ending the run
59-
cfg.endDelay = .1;
59+
cfg.timing.endDelay = .1;
6060

61-
cfg.eventDuration = 0.8; % second
61+
cfg.timing.eventDuration = 0.8; % second
6262

6363
%% Visual Stimulation
6464

subfun/doDotMo.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
dots = initDots(cfg, thisEvent);
2020

2121
% Set for how many frames this event will last
22-
framesLeft = floor(cfg.eventDuration / cfg.screen.ifi);
22+
framesLeft = floor(cfg.timing.eventDuration / cfg.screen.ifi);
2323

2424
%% Start the dots presentation
2525
vbl = Screen('Flip', cfg.screen.win);

0 commit comments

Comments
 (0)