.. gallery-section: psychtoolbox .. _attention_worden_exp: ----------------------------------------------------------------------------------- Experiment example (Psychtoolbox): Attention task, Worden et al. (2000) replication ----------------------------------------------------------------------------------- Author: Hadi Zaatiti .. contents:: :local: :depth: 2 Description =========== A trial-by-trial spatial cueing task for the KIT MEG system that reproduces the task of [Worden2000b]_. A brief arrow at fixation tells the participant which side to attend; one second later a shape appears on the left or on the right, and the participant presses a button only if the target shape appears on the cued side. The paper reports that, in the last 250 ms before the shape, alpha-band (8-14 Hz) activity is higher over the occipital cortex ipsilateral to the cued side. It replaces the block-cued :ref:`Attention Task` for testing that effect: attention is cued on every trial, the participant has a task at the attended location, and both cue directions are mixed in one recording. Code: :github-file:`experiments/psychtoolbox/attention_task_worden ` (start with ``main.m``). .. [Worden2000b] Worden MS, Foxe JJ, Wang N, Simpson GV. Anticipatory biasing of visuospatial attention indexed by retinotopically specific alpha-band electroencephalography increases over occipital cortex. J Neurosci. 2000 Mar 15;20(6):RC63. `doi:10.1523/JNEUROSCI.20-06-j0002.2000 `_ (`free full text on PubMed Central `_) .. only:: internal :download:`Download the paper (PDF) ` The trial ^^^^^^^^^ .. figure:: figures-attention-worden/trial-sequence.png :width: 100% :alt: The four displays of one trial and a timeline with the trigger pulses One trial of a lower-visual-field block, and its trigger pulses. The screen is black, with a white fixation dot and two dark grey squares (location markers, 1.2 deg) 3.5 deg left and right of fixation. The squares stay on screen for the whole block. In different blocks they are 3.5 deg above or 3.5 deg below the horizontal meridian. #. **Cue, 35 ms.** A 1 deg red and green disc with an arrow replaces the fixation dot. The arrow points left or right with equal probability. The colours are swapped at random (red arrow on green, or green arrow on red). #. **Delay, 1000 ms.** Fixation dot and squares only. #. **Stimulus.** A shape appears at the left or the right square with equal probability, whatever the cue said. - Orientation blocks: a letter T in one of four orientations, for 85 ms. - Motion blocks: a dot for 30 ms, 15 ms blank, a second dot for 30 ms, which looks like one dot jumping up, down, left or right. #. **1.5 to 3 s** (uniform) before the next cue. .. figure:: figures-attention-worden/stimuli.png :width: 75% :alt: The four cues, the four T orientations and the four motion directions The cues and the two sets of four stimuli (magnified). The task ^^^^^^^^ One of the four stimuli is the **target** of the block. The participant presses a button with the right hand, as fast as possible, only when the target appears at the square the arrow pointed to. A shape at the other square is ignored, even if it is the target. Most trials need no press. Blocks and runs ^^^^^^^^^^^^^^^ - A block has 16 trials: every stimulus (4) x cue side (2) x stimulus side (2) once, in random order. Then each trial has a 0.1 probability of being replaced by a target at the cued side, so the number of targets per block is not fixed (two, plus the extra ones). - A run has 8 blocks by default: each task (orientation, motion) x visual field (upper, lower) twice, in random order. A block lasts about one minute; a run about 8 to 9 minutes with its instruction screens. - One run gives 64 trials per cue side. The paper does not give its number of trials. Four runs (256 trials per cue side) take about 40 minutes. What the participant reads ^^^^^^^^^^^^^^^^^^^^^^^^^^ Every run starts with three instruction screens: #. what happens in a trial (arrow, attend that side, shape in one square) and that the eyes stay on the centre dot; #. when to press (shape at the cued square **and** it is the target) and when not to (other square, or not the target); #. what to expect: most trials need no press, the task is difficult, blocks last a minute, the target changes between blocks. Before every block a screen names the shapes of the block, says whether the squares are in the upper or lower part of the screen, and shows the target and the three non-targets as drawings. Any button of the response boxes continues. After the instructions the screen shows "Please wait for the experimenter" until the operator presses SPACE. The wording is in :github-file:`worden_instructions.m `. Red and green of the cue ^^^^^^^^^^^^^^^^^^^^^^^^ The paper matched the luminance of the red and the green for each participant by flicker photometry. **Flicker calibration...** in the launcher does this: a 2 deg disc at fixation alternates between red and green 15 times per second; the participant makes the green brighter (right box) or darker (left box) until the flicker is weakest; the operator presses SPACE. The value is saved for that participant and session (``calibration/sub-