Experiment(){
Context(){
AssignmentGroup(){
SubjectCode = "pxlab";
SkipBoundingBlockDisplays = 1;
}
Session(){
Instruction(){
Text = ["Rate the Picture", " ", "Please use the mouse to move the pointer on the scale.", "Press the SPACE bar if your rating is finished.", " ", "Press any key now to start!"];
}
}
SessionEnd(){
SessionEndMessage(){
}
}
Block();
Trial( Picture.FileName, RatingScale.ScaleValue){
Picture(){
Timer = NO_TIMER;
Directory = "./images/picture_masked";
LocationY = -40;
}
RatingScale(){
Text = "";
Labels = ["not at all", "very much"];
NumberOfTicks = 6;
LowestTick = 0;
TickStep = 1;
BarColor = gray();
TickColor = lightGray();
PointerColor = yellow();
ScaleLocationX = 0;
ScaleLocationY = 280;
ScaleWidth = 640;
ScaleHeight = 50;
TickType = BAR_TICKS;
LineWidth = 16;
LabelType = NUMBER_LABELS;
LabelDistance = 8;
PointerType = DOUBLE_POINTER;
PointerSize = 40;
AnchorLabels = 1;
AnchorDistance = 20;
ScaleValue = -1;
RoundingFactor = 100;
Timer = MOUSE_TRACKING_KEY_TIMER;
ResponseSet = SPACE_KEY;
Overlay = TRANSPARENT;
}
ClearScreen(){
Timer = CLOCK_TIMER;
Duration = 300;
}
}
// Command line assignments
AssignmentGroup();
}
Procedure(){
Session(){
Block(){
Trial( "cd01-img0003c.jpg", ?);
Trial( "cd01-img0006c.jpg", ?);
Trial( "cd01-img0007c.jpg", ?);
}
}
}
}