platt-labs / NEWT

Neo-EEGLAB Wrapper Toolbox (NEWT) is a library of wrappers over the EEGLAB's basic functions.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Neo-EEGLAB Wrapper Toolbox (NEWT)

This is a library of wrappers over the EEGLAB's functions. This library includes wrappers over the basic functionalities of importing, cleaning (filtering), channel-based ICA, and artefact-rejection (using Multiple Artefact Rejection Algorithm, a.k.a. MARA).

Note: This repository is a work-in-progress and the functions are updated every once in a while.

Initializing the Toolbox

Make sure that EEGLAB is already downloaded on your system, and the path to the toolbox is specified.

Clone the toolbox using git commandline or download and unzip using the GUI. Then, initialize the toolbox by specifying the path as mentioned above, or locally specify the path by adding:

addpath('\Your\...\path\...\to\...\neo_eeglab_wrapper_toolbox');  % initialize NEWT

Using the functions in the Toolbox:

Detailed usage of each function can be found using the help command in MATLAB command-line.

Functionality Wrapper Functions Comments
Import EEG Data 1.1. import_data_eeglab Currently only imports matlab arrays and EDF files.
Rereferencing Channels 2.1. reref_channels_eeglab Rereferencing to a common or differential is not
coded and needs to be done manually.
Filter Dataset 3.1. filter_data_eeglab
3.2. apply_multifilt_eeglab
Single filter function.
Multiple filters stored as multiple datasets.
Retrieving a Dataset 4.1. retr_data_eeglab -
Artefact Rejection 5.1. reject_artefacts_eeglab Runs ICA and MARA both - for independent ICA
rejection, manually run ICA.

References

  1. EEGLAB toolbox for neuro-electrophysiological signal-processing, Swartz Center for Computational Neuroscience (University of California San Diego), found at: https://sccn.ucsd.edu/eeglab/index.php.
  2. Multiple Artefact Rejection Algorithm (MARA), EEGLAB Plug-In, found at: https://irenne.github.io/artifacts/

Licenses

This repository licensed under the terms of the MIT license.

About

Neo-EEGLAB Wrapper Toolbox (NEWT) is a library of wrappers over the EEGLAB's basic functions.

License:MIT License


Languages

Language:MATLAB 100.0%