You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running this script will play blocks of motion/static sounds. Motion blocks will play sounds moving in one of four directions (up-, down-, left-, and right-ward)
30
57
31
58
By default it is run in `Debug mode` meaning that it does not care about subjID, run n., fMRI triggers, Eye Tracker, etc..
32
59
33
60
Any details of the experiment can be changed in `setParameters.m` (e.g., experiment mode, motion stimuli details, exp. design, etc.)
34
61
35
-
### setParameters
62
+
### 3.2. <aname='setParameters'></a>setParameters
36
63
37
64
`setParameters.m` is the core engine of the experiment. It contains the following tweakable sections:
38
65
@@ -49,30 +76,37 @@ Any details of the experiment can be changed in `setParameters.m` (e.g., experim
Creates the sequence of blocks and the events in them. The conditions are consecutive static and motion blocks (Gives better results than randomised). It can be run as a stand alone without inputs to display a visual example of a possible design.
54
82
55
-
#### EVENTS
83
+
#### 3.3.1. <aname='EVENTS'></a>EVENTS
84
+
56
85
The `numEventsPerBlock` should be a multiple of the number of "base" listed in the `motionDirections` and `staticDirections` (4 at the moment).
57
86
58
-
#### TARGETS:
87
+
#### 3.3.2. <aname='TARGETS:'></a>TARGETS:
88
+
59
89
- If there are 2 targets per block we make sure that they are at least 2 events apart.
60
90
- Targets cannot be on the first or last event of a block
61
91
62
-
#### Input:
92
+
#### 3.3.3. <aname='Input:'></a>Input:
93
+
63
94
-`expParameters`: parameters returned by `setParameters`
64
95
-`displayFigs`: a boolean to decide whether to show the basic design matrix of the design
65
96
66
-
#### Output:
97
+
#### 3.3.4. <aname='Output:'></a>Output:
98
+
67
99
-`expParameters.designBlockNames` is a cell array `(nr_blocks, 1)` with the name for each block
68
100
-`expParameters.designDirections` is an array `(nr_blocks, numEventsPerBlock)` with the direction to present in a given block
69
101
-`0 90 180 270` indicate the angle
70
102
-`-1` indicates static
71
103
-`expParameters.designSpeeds` is an array `(nr_blocks, numEventsPerBlock) * speedEvent`
72
104
-`expParameters.designFixationTargets` is an array `(nr_blocks, numEventsPerBlock)` showing for each event if it should be accompanied by a target
Eyetracker script, still to be debugged. Will probably moved in the CPP_PTB package. It deals with the calibration (dufault or custom), eye movements recording and saving the files.
0 commit comments