Skip to content

FlyingFordAnglia/OpenBCIGammaProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This folder contains all segmented data (see below) pertinent to the OpenBCI_GammaProject. For details on protocol, methods and results, please refer to the paper (preprint availble here).

Data format:

  1. Raw Data: as obtained directly from the EEG recording systems (OpenBCI and BrainProducts) and the stimulus presenting software (MonkeyLogic). The data for each subject is stored in a separate folder inside the directory data/rawData. Currently, the raw data of only one subject has been added as an example. All the analyses from our study can be replicated using only segmented data (see below).
  2. Segmented data: Segments of data around the stimulus onset are extracted and saved from Raw Data. The data for each subject is stored in a separate folder inside the directory data. Each protocol for every subject has the following subfolders: 2a. extractedData: this contains para-EEG data like monkeylogic data and digital events data. 2b. segmentedData: this contains electrode wise data for each protocol and some auxiliary information in lfpInfo.mat.

Programs:

The codes are divided into two folders : main and helper. All subfolders in this folder must be added to MATLAB path. Other dependencies include Chronux toolbox and EEGLab.

  1. To generate Segmented Data from Raw Data, run runExtractAllProtocolsOBCIGammaProject.m from the main folder. (To generate line noise corrected version of the same, run runExtractAllProtocolsOBCIGammaProjectNoiseCorrected.m). The source folder and output folder paths must changed according to the location in which the data folders are present before running these programs.

  2. To perform spectral analysis on the Segmented Data, run analyseAllData.m from the main folder. (analyseAllDataNoiseCorrected.m for the line noise corrected version of the same). This program outputs a struct which is necessary to run the subsequent figure codes. The source folder path must changed according to the user's preference before running these programs.

  3. The figure codes include the scripts for each figure independently (both main figures and supplementary figures), which can be run independently after the first two steps.

MonkeyLogic files:

This folder consists of the stimuli that were presented to the subjects and the files needed to run NIMH MonkeyLogic (the sfOriConditions.txt is the conditions file and the timing_script_1.m is the instruction file that determines the sequence of images to be presented and event markers to send).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages