File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 3636
3737 cfg.design.names = {' static' , ' motion' };
3838 cfg.design.possibleDirections = [-1 1 ]; % 1 motion , -1 static %NOT IN USE AT THE MOMENT
39- cfg.design.numBlocks = size(cfg .design .names , 2 ); % TO CHECK
40- cfg.design.nbRepetitions = 1 ; % AT THE MOMENT IT IS NOT SET IN THE MAIN SCRIPT
39+ cfg.design.numBlocks = size(cfg .design .names , 2 ); % TO CHECK
40+ cfg.design.nbRepetitions = 1 ; % AT THE MOMENT IT IS NOT SET IN THE MAIN SCRIPT
4141 cfg.design.nbEventsPerBlock = 12 ;
4242
4343 %% Timing
Original file line number Diff line number Diff line change 11function [cfg ] = expDesign(cfg , displayFigs )
22 % Creates the sequence of blocks and the events in them
33 %
4- % The conditions are consecutive static and motion blocks (Gives better results than randomised).
4+ % The conditions are consecutive static and motion blocks (Gives better results
5+ % than randomised).
56 %
67 % It can be run as a stand alone without inputs to display a visual example of possible design.
78 %
6566 maxNumFixTargPerBlock = cfg .target .maxNbPerBlock ;
6667
6768 if mod(numEventsPerBlock , length(motionDirections )) ~= 0
68- warning(' the number of events per block is not a multiple of the number of motion/static diection' );
69+ warning(' the number of events per block is not a multiple of the number ...
70+ of motion/static diection' );
6971 end
7072
7173 %% Adapt some variables according to input
You can’t perform that action at this time.
0 commit comments