Skip to content

Latest commit

 

History

History
168 lines (109 loc) · 8.95 KB

README.md

File metadata and controls

168 lines (109 loc) · 8.95 KB

Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

Flanker task experiment

Flanker task experiment for Presentation® NeuroBehavioral Systems, This task is created for the Cystinosis experiment battery (2021)

Table of Contents

  1. About the project
  2. Info about the experiment
  3. License
  4. Contact
  5. Acknowledgements

About The Project

This is a Flanker task experiment for Presentation® NeuroBehavioral Systems, this task is created for the Cystinosis experiment battery (2021). For each trial the participant is shown 5 arrows (<<<<<, >>>>>, <<><< or >><>>). The participant has to look at the arrow in the center. If the arrow points to the left, they respond with their left index finger pressing the left Ctrl. If the arrow points to the right, they respond with their right index finger pressing the right Ctrl. For half of the trials the arrows are congruent (<<<<< or >>>>>) the other half is incongruent (<<><< or >><>>) We want to measure both RT and EEG for this experiment.

Built With

Installation

Download this Repo

Create 2 folders

Folder 1 - "Presentation Files" - this folder should contain all the presentation files and Sequences found in the "src" folder

Folder 2 - "Logfiles" - this folder will be filled with all the presentation Log files containing the behavioral data

Info about the experiment

Stimuli

The stimuli are all created each time by Presentation so for this paradigm there are no separate stimuli. The stimuli are 5 arrows. They either point in the same direction (congruent) or the center one points in a different direction (incongruent).

Logfiles

Log files with experiment reaction times and other information automatically should be placed in the log file folder. In these log files you will find the behavioral information of each time the experiment is ran.

Sequences

Most things are semi random. This means that there are equal amounts of <<<<<, >>>>>, <<><< and >><>> but presentation fully randomizes their order every time. This means that every participant has a different order.

Instructions

Before running the paradigm we run the "Flanker Task instructions scenario". This scenario starts off with the following instructions:

instructions

In the final version we updated the instructions to beside the picture above also have 5 pictures of example trials that the experimenter will go through together with the partcipant. After this is done, the participant will practice 5 practice trials with feedback.

We prefer that people read their own instructions because like this there is no chance that some people get different instructions by mistake.

Trigger codes

The presentation software sends codes to the EEG system so that the responses and the stimuli can be time-locked in the EEG data. The following is an explanation of each trigger code:

port code 201 = start recording
port code 200 = pause recording 
port code 1   = left  response
port code 2   = right responses
port code 11  = <<<<<
port code 22  = >>>>>
port code 33  = >><>>
port code 44  = <<><<

Timing

The reason this experiment is coded in presentation, is because of the timing resolution of this software/language. When setup correctly this experiment has potentially 1ms of jitter. This will be measured here at our lab, using an oscilloscope. It is critical that this is re-tested before EEG data is collected. This has not yet happened because we haven't decided on the duration of the trials.

This is how long should all the trials last. - S1 shows for 200ms - ISI for 1500 to 2000ms, this is completely random

1 trial takes 1700ms-2200ms. Each block has 120 trials and we run 4 blocks to get enough EEG data.

Using the "Flanker Task - timing" file we tested the timing between the stimulus showing up on the screen and the trigger (using an oscilloscope) We made some adjustements (see the "s1_trigger" event in the scenario files). Currently there is 0ms between the onset of any stimulus and when the trigger is send. Important to note is that if this paradigm is ran anywhere else this might not be the case due to hardware differences and this needs to be checked.

As you can see below, the onset of the trigger (orange) is at the same time as where the stimuli exceed the average threshold (blue) Timing

if you plan to use this paradigm You need to do the same and test if for your setup the timing is also okay. This timing is dictated by the refreshrate of your screen, the quality of your computer and potentially other minor factors. If you want to change the timing you can change "deltat = ..". Whenever this shows up in the code it will delay the sending of the trigger by x amount of miliseconds. So in our case we noticed the screen being 9ms delayed, so this is why we delay the trigger by the same amount.

Data collection

This experiment is used to collected EEG data, eye tracking data and RT data.
There are 4 Scenario Files because the paradigm needs to be ran 4x to get enough trials.

Piloting Results

To pilot if the paradigm works, we piloted it on 4 adult controls. We've averaged the signal accros subjects and we are showing for correct responses after:

  • the central error pointing left congruent (<<<<<) (followed by a correct response)
  • the central error pointing right congruent (>>>>>) (followed by a correct response)
  • the central error pointing left incongruent (>><>>) (followed by a correct response)
  • the central error pointing right incongruent (<<><<) (followed by a correct response)

The ERP is timelocked to the onset of the stimulus. And is showing a difference between the congruent and incongruent reponses. Due to the lack of data it's not perfectly clear but there is reason enough to believe this result will be clearer with more data and between different groups.

Flanker Results

We also tested and concluded that this is a task understood and doable for kids.

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Douwe Horsthuis - @douwejhorsthuis - [email protected]

Project Link: https://github.com/DouweHorsthuis/Flanker_task_experiment/

Acknowledgements

  • Ana Francisco - The Research Assistant Professor that conceptualized the whole experiment