File tree Expand file tree Collapse file tree 4 files changed +14
-55
lines changed Expand file tree Collapse file tree 4 files changed +14
-55
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ function test_computeRadialMotionDirectionBasic()
1111 %% set up
1212
1313 cfg.design.motionType = ' radial' ;
14+ cfg.dot.matrixWidth = 50 ; % in pixels
1415 cfg.screen.winWidth = 100 ; % in pixels
1516 direction = 666 ;
1617
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ function test_initDotsBasic()
2626 cfg.dot.number = 10 ;
2727 cfg.dot.coherence = 1 ; % proportion
2828 cfg.dot.lifeTime = 0.250 ; % in seconds
29+ cfg.dot.matrixWidth = 50 ; % in pixels
2930 cfg.screen.winWidth = 2000 ; % in pixels
3031 cfg.eventDuration = 1 ; % in seconds
3132 cfg.screen.ifi = 0.01 ; % in seconds
@@ -61,6 +62,7 @@ function test_initDotsStatic()
6162 cfg.dot.number = 10 ;
6263 cfg.dot.coherence = 1 ; % proportion
6364 cfg.dot.lifeTime = 0.250 ; % in seconds
65+ cfg.dot.matrixWidth = 50 ; % in pixels
6466 cfg.screen.winWidth = 2000 ; % in pixels
6567 cfg.eventDuration = 1 ; % in seconds
6668 cfg.screen.ifi = 0.01 ; % in seconds
@@ -90,6 +92,7 @@ function test_initDotsRadial()
9092 cfg.dot.number = 10 ;
9193 cfg.dot.coherence = 1 ; % proportion
9294 cfg.dot.lifeTime = 0.250 ; % in seconds
95+ cfg.dot.matrixWidth = 50 ; % in pixels
9396 cfg.screen.winWidth = 2000 ; % in pixels
9497 cfg.eventDuration = 1 ; % in seconds
9598 cfg.screen.ifi = 0.01 ; % in seconds
Original file line number Diff line number Diff line change 88
99function test_reseedDotsBasic()
1010
11- dots.lifeTime = 100 ;
1211 cfg.screen.winWidth = 2000 ;
12+
13+ cfg.design.motionType = ' radial' ;
14+
15+ cfg.dot.matrixWidth = 50 ; % in pixels
1316 cfg.dot.number = 5 ;
1417 cfg.dot.sizePix = 20 ;
1518 cfg.dot.proportionKilledPerFrame = 0 ;
1619
1720 cfg.fixation.widthPix = 20 ;
21+
22+ dots.lifeTime = 100 ;
23+ dots.speedPixPerFrame = 3 ;
24+ dots.direction = 90 ;
25+ dots.isSignal = true(5 , 1 );
1826
1927 dots.positions = [ ...
20- 694 , 100 ; % OK
28+ 49 , 1 ; % OK
2129 490 , 2043 ; % out of frame
2230 - 104 , 392 ; % out of frame
2331 492 , 402 ; % OK
You can’t perform that action at this time.
0 commit comments