/* A modified version of the Navon-Task. See http://www.psychology.nottingham.ac.uk/staff/pal/stats/C81MPA/Navon%20Experiment.pdf for a description. */
Experiment(){
Context(){
AssignmentGroup(){
ExperimentName = "The Navon (1981) Task";
DataFileTrialFormat = "%SubjectCode% %PatternCode% %Trial.NavonPattern.Letter% %Trial.NavonPattern.ResponseCode% %Trial.NavonPattern.ResponseTime%";
SubjectGroup = 0;
SubjectCode = "pxlab";
new H_Pattern = [17, 17, 17, 31, 17, 17, 17];
new E_Pattern = [31, 1, 1, 7, 1, 1, 31];
new K_Pattern = [17, 9, 5, 3, 5, 9, 17];
new A_Pattern = [4, 10, 17, 17, 31, 17, 17];
new S_Pattern = [14, 17, 1, 14, 16, 17, 14];
new U_Pattern = [17, 17, 17, 17, 17, 17, 14];
new PatternCode = 0;
}
Session(){
Instruction(){
Text = ["Attention to Letters", " ", "You will see a large letter pattern made up from smaller letters. Your task is to look at the small letters and ignore the large one.", "Please press the left mouse button if the small letter is a vocal and press the right button if not.", " ", "Press any key now to start!"];
}
}
SessionEnd(){
SessionEndMessage(){
}
}
Trial( PatternCode, NavonPattern.Pattern, NavonPattern.Letter, NavonPattern.ResponseCode, NavonPattern.ResponseTime){
NavonPattern(){
Timer = de.pxlab.pxl.TimerCodes.RESPONSE_TIMER;
ResponseSet = [1, 3];
FontSize = 40;
}
ClearScreen(){
Timer = de.pxlab.pxl.TimerCodes.CLOCK_TIMER;
Duration = 500;
}
}
// Command line assignments
AssignmentGroup();
}
Procedure(){
Session(){
Block(){
Trial( "A", A_Pattern, <"H", "E", "K", "A", "U", "S">, ?, ?);
Trial( "E", E_Pattern, <"H", "E", "K", "A", "U", "S">, ?, ?);
Trial( "H", H_Pattern, <"H", "E", "K", "A", "U", "S">, ?, ?);
Trial( "K", K_Pattern, <"H", "E", "K", "A", "U", "S">, ?, ?);
Trial( "S", S_Pattern, <"H", "E", "K", "A", "U", "S">, ?, ?);
Trial( "U", U_Pattern, <"H", "E", "K", "A", "U", "S">, ?, ?);
}
}
}
}