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 show blocks of motion dots (soon also moving gratings) and static dots. Motion blocks will show dots(/gratings) moving in one of four directions (up-, down-, left-, and right-ward)
62
59
63
60
By default it is run in `Debug mode` meaning that it does not run care about subjID, run n., fMRI triggers, Eye Tracker, etc..
64
61
65
62
Any details of the experiment can be changed in `setParameters.m` (e.g., experiment mode, motion stimuli details, exp. design, etc.)
66
63
67
-
### 3.2. <aname='setParameters'></a>setParameters
64
+
### setParameters
68
65
69
66
`setParameters.m` is the core engine of the experiment. It contains the following tweakable sections:
-`cfg`: PTB/machine configurations returned by `setParameters` and `initPTB`
113
110
-`expParameters`: parameters returned by `setParameters`
114
111
-`logFile`: structure that stores the experiment logfile to be saved
115
112
116
-
#### 3.3.2. <aname='Output:'></a>Output:
113
+
#### Output
117
114
118
115
- Event `onset`
119
116
- Event `duration`
120
117
121
118
The dots are drawn on a square that contains the round aperture, then any dots outside of the aperture is turned into a NaN so effectively the actual number of dots on the screen at any given time is not the one that you input but a smaller number (nDots / Area of aperture) on average.
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 possible design.
126
123
127
-
#### 3.4.1. <aname='EVENTS'></a>EVENTS
124
+
#### EVENTS
128
125
129
126
The `numEventsPerBlock` should be a multiple of the number of "base" listed in the `motionDirections` and `staticDirections` (4 at the moment).
130
127
131
-
#### 3.4.2. <aname='TARGETS:'></a>TARGETS:
128
+
#### TARGETS
132
129
133
130
- If there are 2 targets per block we make sure that they are at least 2 events apart.
134
131
- Targets cannot be on the first or last event of a block
135
132
136
-
#### 3.4.3. <aname='Input:-1'></a>Input:
133
+
#### Input
137
134
138
135
-`expParameters`: parameters returned by `setParameters`
139
136
-`displayFigs`: a boolean to decide whether to show the basic design matrix of the design
140
137
141
-
#### 3.4.4. <aname='Output:-1'></a>Output:
138
+
#### Output
142
139
143
140
-`expParameters.designBlockNames` is a cell array `(nr_blocks, 1)` with the name for each block
144
141
-`expParameters.designDirections` is an array `(nr_blocks, numEventsPerBlock)` with the direction to present in a given block
0 commit comments