Return to the AntiSaccade Task page
						
									   ANTI-SACCADE TASK
							   (requires Tobii eyetracker plugin)

SCRIPT INFO

Script Author: Katja Borchert, Ph.D. (katjab@millisecond.com) for Millisecond Software, LLC
Date: 11-24-2014
last updated:  08-15-2016 by K. Borchert (katjab@millisecond.com) for Millisecond Software, LLC

Copyright ©  08-15-2016 Millisecond Software


BACKGROUND INFO

											*Purpose*
This script runs the AntiSaccade Task (testing of smooth eyemovements towards or away from targets) described by:

Sereno, A.B. & Holzman, P.S. (1995). Antisaccades and Smooth Pursuit Eye Movements in
Schizophrenia. BIOL PSYCHIATRY, 37, 394-401.

This script requires the Tobii plugin from Millisecond Software.

NOTE: script AntiSaccadeTask_UIsetup.iqx can be used separately to find parameters to optimize the setup of the user interface
for the intended monitor (e.g. size of stimuli, size of response windows, distance of stimuli).


											  *Task*
Participants are asked to focus on a fixation cross. After 800ms AND if eyes are focused 
on the fixation cross a red circle appears either on the left or the right side of the fixation cross. 
Participants have to perform an 
a) Anti Saccade task: look to the opposite side of the red circle, roughly where the mirror image would be located and a
b) Pro Saccade task: look at/towards the red circle
(order of Saccade task is counterbalanced by assigned groupnumber; more info under section EXPERIMENT)



DATA FILE INFORMATION: 
The default data stored in the data files are:

(1) Raw data file: 'AntiSaccadeTask_raw*.iqdat' (a separate file for each participant)

build:							Inquisit build
computer.platform:				the platform the script was run on
date, time, subject, group:		date and time script was run with the current subject/groupnumber 
blockcode, blocknum:			the name and number of the current block
trialcode, trialnum: 			the name and number of the currently recorded trial
									(Note: not all trials that are run might record data) 
/taskorder:						"PS -> AS" vs. "AS -> PS" (PS = ProSaccade; AS = AntiSaccade)
/task:							"PS" vs. "AS"
/phase:							"practice" vs. "test"
/Targetlocation:				1 = target appears on the left side; 2 = target appears on the right side
response:						the participant's response
correct:						the correctness of the response (1 = correct; 0 = incorrect)
latency: 						the response latency (in ms)
/validtrial:					1 = participant looked in direction of fixation stimulus at the end of fixation stimulus trial
								0 = participant did not look in the direction of fixation stimulus at the end of fixation stimulus trial
/repeat:						1 = repeated trial (does not count towards error performance); 0 = original trial


(2) Summary data file: 'AntiSaccadeTask_summary*.iqdat' (a separate file for each participant)

script.startdate:				date script was run
script.starttime:				time script was started
script.subjectid:				subject id number
script.groupid:					group id number
script.elapsedtime:				time it took to run script (in ms)
computer.platform:				the platform the script was run on
/completed:						0 = script was not completed (prematurely aborted); 1 = script was completed (all conditions run)
/taskorder:						"PS -> AS" vs. "AS -> PS"
/repeaterrortrials:				true = error trials are repeated (default)
								false = error trials are not repeated

/PD_Properrors:					Measure of Performance Decrement (PD) based on difference in error rates
/PD_RT:							Measure of Performance Decrement (PD) based on difference in median correct latency (in ms)

/medianRT_correctAS:			median latency of correct AntiSaccade trials (includes repeated trials)
/medianRT_correctPS:			median latency of correct ProSaccade trials (includes repeated trials)

/properrors_AS:					error rate for AntiSaccade task (includes wrong responses and no response trials) for non-repeated trials only (performance on repeated trials not considered for error counts)
/properrors_PS:					error rate for ProSaccade task (includes wrong responses and no response trials) for non-repeated trials only

/prop_incorrectresponseAS:		proportion incorrect responses (=> wrong direction only) in AntiSaccade trials (out of all errors for non-repeated trials)
/prop_incorrectresponsePS:		proportion incorrect responses (=> wrong direction only) in ProSaccade trials (out of all errors for non-repeated trials)

/countinvalid_AS:				counts number of invalid AntiSaccade trialsequences (participant did not look at fixation stimulus)
/countinvalid_PS:				counts number of invalid ProSaccade trialsequences (participant did not look at fixation stimulus)


(3) Eyetracker Info: 'AntiSaccadeTask_gaze.iqdat'

date, time, subject, group:		date and time script was run with the current subject/groupnumber 
timestamp: 						This property returns timestamps for when the last marker value was sent to the eye tracker.
marker:							This property returns when a  marker value was sent to the eye tracker.
								10 = marker for fixation cross (Antisaccade Sequence) was sent
								11 = marker for Antisaccade, left target
								12 = marker for Antisaccade, right target
								20 = marker for fixation cross (Prosaccade Sequence)
								21 = marker for Prosaccade, left target
								22 = marker for Prosaccade, right target

leftpixelx:						horizontal/vertical pixel coordinate on display monitor of the left/right eye
leftpixely
rightpixelx
rightpixely

focuspixelx: 					mean horizontal/vertical pixel coordinates of the left and right eye 
focuspixely:

leftgazex:						internal eye tracking coordinate of the horizonal/vertical left/right eye position
leftgazey
leftgazez
rightgazex
rightgazey
rightgazez

lefteyex:						eye coordinates in 3D space
lefteyey
lefteyez
righteyex
righteyey
righteyez

leftpupilwidth:					width/height of left/right pupil
leftpupilheight: 
rightpupilwidth	
rightpupilheight

leftvalidity:  					0 = valid data point (0-4) for the left/right
rightvalidity:


EXPERIMENTAL SET-UP
2 tasks (Anti-Saccade vs. Pro-Saccade): tested within in a blocked design (task order counterbalanced btw. participants via groupnumber assignment)
* 1 Practice Block: 20 practice trials (no repeats of error practice trials)
* 1 Test Block: 40 trials each (default, see section EDITABLE LISTS to change)
* By default, error trials are repeated (see Sereno & Holzman, 1995) and therefore each task concludes with 40 correct responses
(to change, go to section EDITABLE PARAMETERS)

	Trial-Sequence:
	(1) Fixation cross (800ms): if eyes are focused on specified fixation cross response window at the end of 800 ms, 
	the trial sequence is continued (otherwise, the trial sequence is terminated and a new one is started)
	(2) Red Circle (max. 2500ms): left/right location is determined randomly with 50% being located to the left of the fixation cross
	*Pro-Saccade Task: trial terminates if participants look at the specified response window of the red circle (referred to as the "target"
	in this script) within 2500ms
	*Anti-Saccade Task: trial terminates if participants look at the specified response window of the (invisible) mirror image of the red circle
	(referred to in this script as the "antitarget") within 2500ms.
	Looking at the wrong response window as well as taking too long to make relevant eye movements (either towards or away from target) 
	(> 2500ms, editable) is counted as an error trial.  Error trials conclude with error sound feedback and are repeated at a later point (default).

	Note on Response "Windows":
	In this script (invisible) disks around the target/antitarget and fixation cross are coded as the response areas ("windows").
	Eye movements that fall within the range of these windows are taken as trial responses and terminate a trial.
	The size of these areas can be adapted for each monitor via Editable Parameters
	(also check out helper script AntiSaccadeTask_UIsetup.iqx to find optimal parameter values on intended monitor).

	(3) ITI: blank screen for 500ms (editable) before fixation cross returns


STIMULI
script AntiSaccadeTask_UIsetup.iqx can be used to find editable parameters to optimize the setup of the user interface
for the current monitor (e.g. size of stimuli, size of response windows, distance of stimuli) 

INSTRUCTIONS
are provided by Millisecond Software under section 
Editable Instructions as well as section INSTRUCTIONS
All text stimuli are editable.

EDITABLE CODE:
check under EDITABLE CODE below for (relatively) easily editable parameters, stimuli, instructions etc. 
Keep in mind that you can use this script as a template and therefore always "mess" with the entire code to further customize your experiment.

The parameters you can change are:

User Interface (UI) parameters:
/fontsize_fixation:					sets the height of the fixation cross in screen % (default: 15%)
/fixationwindow:					sets the window of the fixation cross in screen % (default: 28%)
/targetfixationdistance:			sets the fixation-target distance in screen % (default: 29%)
/targetsize:						sets the target size in screen % (default: 5%)
/targetwindow:						adds additional screen % to the targetsize to create the (anti)targetwindow
										!!!!NOTE: the above parameters can be optimized/determined for the intended monitor
										with script "AntiSaccadeTask_UIsetup.iqx"

/fixationduration:					sets the duration of the fixation cross in ms (default: 800ms)
									Note: after 800ms eyepositions are checked to make sure that they are roughly on the 
									fixation cross before moving on

/stimduration:						sets the max. duration of the target presentation in ms (default: 2500ms)
/iti:								intertrial interval in ms (default: 500ms)
/timeoutduration:					timeout duration after an incorrect response in ms (default: 1000ms)

/nr_practicetrials:					number of practice trials
/repeaterrortrials:					true = error trials are repeated (default)
									false = error trials are not repeated

Copyright © Millisecond Software. All rights reserved.
Contact | Terms of Service | Privacy Statement | Security Statement | GDPR
Website Security Test