N-Nieto / Inner_Speech_Dataset

Codes to reproduce the Inner speech Dataset publicated by Nieto et al.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inner Speech Dataset

Important! on 30 July 2021 several corrupted files were fixed in the data repository. On 25 Novembrer 2021, EEG data for participants 9 and 10 were also fixed in the repository.

In the following repository all codes for reproduce and use the Inner speech Dataset are presented.

The dataset is publicy available at https://openneuro.org/datasets/ds003626

The publication is available at https://www.nature.com/articles/s41597-022-01147-2

Stimulation Protocol

The stimulation protocol was used for capturing the data, and was developed in Matlab using Psychtoolbox.

The script Stimulation_protocol.m is the main script and uses the other auxiliary functions.

Processing

The processing was developed in Python, using mainly the MNE library.

Install the Inner speech processing environment

Create an environment with all the necessary libraries for running all the scripts.

conda env create -f environment.yml

Using the Inner_speech_processing.py script, you can easily make your own processing, changing the variables at the top of the script.

The TFR_representation.py generates the Time Frequency Representations used addressing the same processing followed in the paper.

By means of the Plot_TFR_Topomap.py the same images presented in the paper can be addressed.

Citing this work

Please cite this work.

@article{nieto2022thinking,
  title={Thinking out loud, an open-access EEG-based BCI dataset for inner speech recognition},
  author={Nieto, Nicol{\'a}s and Peterson, Victoria and Rufiner, Hugo Leonardo and Kamienkowski, Juan Esteban and Spies, Ruben},
  journal={Scientific Data},
  volume={9},
  number={1},
  pages={1--17},
  year={2022},
  publisher={Nature Publishing Group}
}

About

Codes to reproduce the Inner speech Dataset publicated by Nieto et al.

License:GNU General Public License v3.0


Languages

Language:Python 77.2%Language:MATLAB 17.0%Language:Jupyter Notebook 5.8%