-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathexamplePriming.js
More file actions
56 lines (54 loc) · 1.56 KB
/
examplePriming.js
File metadata and controls
56 lines (54 loc) · 1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
define(['pipAPI', 'https://galmaimon.github.io/Priming.js'], function(APIConstructor, epExtension){
var API = new APIConstructor();
var global = API.getGlobal();
return epExtension(
{
//The prime categories.
primeCats : [
{
name : 'Black people', //Will appear in the data.
//An array of all media objects for this category.
mediaArray : [
{image : 'b01.jpg'},
{image : 'b02.jpg'},
{image : 'b03.jpg'},
{image : 'b04.jpg'},
{image : 'b05.jpg'},
{image : 'b06.jpg'},
{image : 'b07.jpg'},
{image : 'b08.jpg'},
{image : 'b09.jpg'},
{image : 'b10.jpg'},
{image : 'b11.jpg'},
{image : 'b12.jpg'}
]
},
{
name : 'White people', //Will appear in the data.
//An array of all media objects for this category.
mediaArray : [
{image : 'w01.jpg'},
{image : 'w02.jpg'},
{image : 'w03.jpg'},
{image : 'w04.jpg'},
{image : 'w05.jpg'},
{image : 'w06.jpg'},
{image : 'w07.jpg'},
{image : 'w08.jpg'},
{image : 'w09.jpg'},
{image : 'w10.jpg'},
{image : 'w11.jpg'},
{image : 'w12.jpg'}
]
}
],
nTrialsPerPrimeTargetPair:15, //How many trials in a block, per prime-target combination (always three blocks).
fixationDuration : 500,
errorFBDuration : 1500,
ITIDuration : 500,
//Set the image folder here.
base_url : {
image : "https://galmaimon.github.io/iatage"
}
});
});