Skip to content

Commit 2f68c31

Browse files
Merge pull request #92 from marcobarilari/marco_streamline-expdesign
Fixing the big pr #84
2 parents 38710ba + ca516c1 commit 2f68c31

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

setParameters.m

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

5858
% if you have static and motion and `nbRepetions` = 4, this will return 8 blocks (n blocks per
5959
% hemifield in case of MT/MST localizer)
60-
cfg.design.nbRepetitions = 10;
61-
cfg.design.nbEventsPerBlock = 10;
60+
cfg.design.nbRepetitions = 12;
61+
cfg.design.nbEventsPerBlock = 12;
6262

6363
%% Timing
6464

subfun/design/expDesign.m

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@
5353
% (C) Copyright 2020 CPP visual motion localizer developpers
5454

5555
%% Check inputs
56+
57+
% Do not display any figure during the experiment
58+
displayFigs = 0;
59+
5660
if nargin < 1 || isempty(cfg)
5761

5862
% ``true`` for MT+ translational localizer
@@ -61,18 +65,13 @@
6165

6266
% Get mock inputs to run this function as a stand alone and get a flavour of how the design
6367
% looks like given certain inputs. Open this function to set different inputs.
64-
getMockConfig(isMT);
68+
cfg = getMockConfig(isMT);
6569

6670
% Get the computed design on a visual representation
6771
displayFigs = 1;
6872

6973
end
7074

71-
% Set to 1 for a visualtion of the trials design order
72-
if nargin < 2 || isempty(displayFigs)
73-
displayFigs = 0;
74-
end
75-
7675
fprintf('\n\nComputing the design...\n\n');
7776

7877
%% Stimuli design
File renamed without changes.

0 commit comments

Comments
 (0)