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
## 2. <aname='Runningtheexperiment'></a>Running the experiment
22
44
23
-
### Set up
45
+
### 2.1. <aname='Setup'></a>Set up
24
46
25
47
Before you can begin you will need to generate a checkerboard or ripple stimulus with the dimensions of the screen you are using for your experiment. For this, you will need to modify the script `GenCheckerboard.m` or `GenRipples.m` in the `input` folder and change the variable `width` or the `height` of your screen in pixels. After running this script the new checkerboard stimulus will be saved on your disk.
26
48
27
49
Some other things will need to be changed to match your needs. Most of it should be in :
28
50
29
51
-`SetParameters.m`
30
-
- The parameter `Resolution` needs to be changed to reflect your screen dimensions (e.g. `[0 0 1024 768]` for 1024*768).
52
+
- The parameter `Resolution` needs to be changed to reflect your screen dimensions (e.g. `[0 0 1024 768]` for 1024\*768).
31
53
- The parameters `TR` and `Dummies` need to be adjusted for your scanner sequence.
32
54
33
55
In the following
56
+
34
57
-`Polar.m`
35
58
-`Eccen.m`
36
59
-`DriftingBar`
@@ -39,27 +62,25 @@ you will need to adapt the `VolsPerCycle` parameter such that you have enough vo
39
62
40
63
For example, if your TR is 2 seconds you would want to have 30 volumes per cycle. (Note that shorter cycles work as well, but for inexperienced participants a minute per cycle is probably optimal).
41
64
42
-
### Running the retinotopy scripts
65
+
### 2.2. <aname='Runningtheretinotopyscripts'></a>Running the retinotopy scripts
43
66
44
67
Any of the other parameters probably do not need to be changed at all.
45
68
46
69
Calling the `Polar` and `Eccen` program without any input arguments will run a demo which is triggered manually by pressing a key.
47
70
48
71
The first input argument is the subject name/ID, the second (optional) input argument defines the direction the stimulus is moving (that is either clockwise vs anticlockwise or contracting vs expanding).
49
72
50
-
51
-
## Other scripts
73
+
## 3. <aname='Otherscripts'></a>Other scripts
52
74
53
75
There are also two scripts which can be used for population receptive field mapping. One is the standard protocol with bars traversing the visual field as in Dumoulin & Wandell (2008).
54
76
55
77
In addition, there is a dual phase-encoded protocol with which you could theoretically map both the polar angle and the eccentricity in the same scan. By including blank periods this could also be used in order to map population receptive fields. This still needs refactoring.
56
78
57
-
58
-
## Reporting a problem
79
+
## 4. <aname='Reportingaproblem'></a>Reporting a problem
59
80
60
81
Get in touch by reporting an issue or sending a pull request
61
82
62
-
## Contributors
83
+
## 5. <aname='Contributors'></a>Contributors
63
84
64
85
Original version by [Sam Schwarzkopf](https://sampendu.net/sam-schwarzkopf/) (27th July 2010)
65
86
@@ -68,7 +89,7 @@ Some modifications (esp for eye tracking) have been done by [Tim Rohe](https://s
68
89
Code cleaning and refactoring was done by Rémi Gau.
69
90
70
91
The loose style guide used here:
92
+
71
93
- use `PascalCase`
72
94
- structures that are passed around and centralize a lot of information (TARGET, BEHAVIOUR, PARAMETERS...) are in upper case
73
95
-[McCabe complexity](https://en.wikipedia.org/wiki/Cyclomatic_complexity) has to be inferior to 15 (see `checkcode('foo.m', '-cyc')`)
0 commit comments