Skip to content

Commit 2ad744e

Browse files
committed
fix issue with static dots
1 parent 47b09b4 commit 2ad744e

File tree

5 files changed

+9
-12
lines changed

5 files changed

+9
-12
lines changed

lib/CPP_BIDS

Submodule CPP_BIDS updated 1 file

lib/CPP_PTB

setParameters.m

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,19 +50,16 @@
5050
cfg.numEventsPerBlock = 12;
5151
cfg.eventDuration = 1; % second
5252

53-
% speed in visual angles / second
53+
% Speed in visual angles / second
5454
cfg.dot.speed = 15;
5555
% Coherence Level (0-1)
5656
cfg.dot.coherence = 1;
57-
% nb dots per visual angle square.
58-
cfg.dot.density = .25;
59-
57+
% Number of dots per visual angle square.
58+
cfg.dot.density = .05;
6059
% Dot life time in seconds
6160
cfg.dot.lifeTime = 10;
62-
6361
% proportion of dots killed per frame
64-
cfg.dot.proportionKilledPerFrame = .05;
65-
62+
cfg.dot.proportionKilledPerFrame = 0;
6663
% Dot Size (dot width) in visual angles.
6764
cfg.dot.size = 1;
6865
cfg.dot.color = cfg.color.white;

subfun/doDotMo.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
%% Get parameters
1818

19-
dots = initializeDots(cfg, thisEvent);
19+
dots = initDots(cfg, thisEvent);
2020

2121
% Set for how many frames this event will last
2222
framesLeft = floor(cfg.eventDuration / cfg.screen.ifi);

subfun/expDesign.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@
3838

3939
% Set directions for static and motion condition
4040
motionDirections = [0 90 180 270];
41-
staticDirections = [0 90 180 270];
42-
% staticDirections = [-1 -1 -1 -1];
41+
% staticDirections = [0 90 180 270];
42+
staticDirections = [-1 -1 -1 -1];
4343

4444
%% Check inputs
4545

0 commit comments

Comments
 (0)