Main content

Warning: This OSF project is public, but the figshare dataset 13135934 is private. Users can view the contents of this private figshare dataset.



Loading wiki pages...

Wiki Version:
This repository contains data and materials for the experiment reported in our paper: van Moorselaar, D., Foster, J.J., Sutterer, D.W., Theeuwes, J., Olivers, C.N.L. & Awh, E (2017). Spatially selective alpha oscillations reveal moment-by-moment trade-offs between working memory and attention. Journal of Cognitive Neuroscience. Data citation: See citation list in the top-right corner of the main project page. Usage: This OSF project contains the data and analysis scripts for the experiment in our Journal of Cognitive Neuroscience paper. If you would like to use the data in published work, please cite both the paper and OSF data set. We analyzed the data using MATLAB and python, so the data are .mat files and the analysis scripts are .m files and .py files. To run the scripts, you will need access to MATLAB and python. Specifically, all preprocessing was done in Matlab. The inverted spatial encoding model was performed in python. ## **Instructions for Use** Here you can find all the data and materials for the experiment reported in our JoCN paper ### **Contents** **Exp_file.osexp** is the script used to run the experiment (this script requires OpenenSesame; see; Mathôt, S., Schreij, D., & Theeuwes, J. (2012). OpenSesame: An open-source, graphical experiment builder for the social sciences. Behavior Research Methods, 44(2), 314-324. doi:10.3758/s13428-011-0168-7). #### **Folders** **AnalysisScripts** – this folder contains all analysis scripts needed to reproduce the analyses in the paper. The folder also contains a **readME.txt** file with instructions. **Behavior** – this folder contains the raw behavior files. For each subject, there is an individual file. There also is one single file that contains the compiled bahavior files, which will be easier to work with. **EEG** – this folder contains the segmented EEG data. You can find more detailed descriptions of the contents of each of these folders in the sections below. ### **'AnalysisScripts' Folder** This folder contains the analysis scripts including plotting functions. The script requires a predefined folder structure as explained in the **readMe** file. Below are brief descriptions of what each script does. ****: script contains all analysis steps to create spatial tuning functions from raw (preprocessed) eeg, including plotting functions. ****: script points SpatialEM to raw data files and makes sure that intermediate files and plots are saved in correct location. ### **'Behavior' Folder** This folder only contains a subfolder **replaced** which contains the data of the participants that were replaced, because they had too many contaminated eeg epochs. The individual data files (.csv) as produced by OpenSesame and the compiled behavior data (.xlsx) without practice trials are stored on Figshare and can be accessed via the figshare add on. Here are the critical variables in each file: **RT_search**: reaction time on the covert attention task in the dual task blocks **block_type**: indicating whether the trial was within a single or a dual task block **cue**: indicating whether the target was cued valid or invalid **degrees_response**: position in degrees on angular rim as indicated by participant **level_staircase**: SOA between target onset and mask (only adjusted in practice block) **location_bin_mem**: spatial position bin of memory location (in degrees) **location_bin_search**: spatial position bin of cue location (in integers) **memory_orient**: position in degrees of grey disk in memory display **practice**: specifies whether trials was a practice trial or not **search_resp**: specifies whether covert attention response in dual-task condition was correct (0 = incorrect, 1 = correct) **subject_nr**: participant number ### **'EEG' Folder** This folder contains the EEG data for each subject. There is also a subfolder **replaced** which contains the raw .bdf files of replaced participants. The important variables for each subject are: ****: a Trials x Electrodes x Samples matrix of segmented EEG data. **erp.chanLabels**: the names of the electrodes recorded from (after removing bad electrodes). **erp.arf.artIndCleaned**: index of trials with artifacts (1 = artifact, 0 = clean trial). **erp.preTime**: the start of the segment in milliseconds relative to onset of the sample stimulus. **erp.postTime**: the end of the segment in milliseconds relative to onset of the sample stimulus. The **sampling rate** was 512 Hz. A brief note on our artifact rejection procedures… Our artifact rejection procedure involved two steps: Step 1: We applied an automated artifact detection algorithm. Step 2: We manually inspected the data to ensure that automatic routine was catching artifacts and was not throwing away clean trials. Usually, we inspect all trials and correct any errors the automatic routine made. For any further questions or comments, please email me at
OSF does not support the use of Internet Explorer. For optimal performance, please switch to another browser.
This website relies on cookies to help provide a better user experience. By clicking Accept or continuing to use the site, you agree. For more information, see our Privacy Policy and information on cookie use.

Start managing your projects on the OSF today.

Free and easy to use, the Open Science Framework supports the entire research lifecycle: planning, execution, reporting, archiving, and discovery.