Skip to content

EEGLAB plugin | spike2EEGGLAB(): load CED Spike format dataset (.mat) and return EEGLAB EEG structure

Notifications You must be signed in to change notification settings

PTDZ/spike2EEGLAB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spike2EEGLAB

spike2EEGGLAB(): load CED Spike format dataset (.mat) and return EEGLAB EEG structure

Usage

[EEG] = spike2EEGLAB()

Outputs

EEG - EEGLAB EEG structure

Note: Import is possible via .mat files that can be saved in CED Spike software.

Example Usage

You can download sample file from /sample-data directory:

  • sample_data.mat (with Keyboard/DigMark channels)
[EEG] = spike2EEGLAB(), then choose the *.mat file from the disk
EEGLAB redraw

You can download spike2EEGLAB from EEGLAB:

  1. File > Manage EEGLAB extensions
  2. Search for 'spike2EEGLAB' OR filter the plugins with 'import' keyword and find spike2EEGLAB plugin
  3. Click Install/Update

Then you can simply use the plugin from EEGLAB GUI:

File > Import data > Using EEGLAB functions and plugins > From CED Spike Matlab file (.mat)

EEGLAB GUI screenshot

How to sucessfully export files in CED Spike

  1. File > Export as...
  2. Choose MATLAB data *.mat and file name.
  3. Choose channels or 'All channels'.
  4. Choose time range: 0 to MaxTime() (*whether you want to export the whole recording)
  5. Click 'Add', then click 'Export'.
  6. Choose layout options as 'Waveform and times' then click 'OK'.

*Please, be sure that your recording is scaled in microvolts (µV).

(back to top)

Built with

  • MATLAB
  • EEGLAB

(back to top)

License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

(back to top)

Contact

Patrycja | mail[at]ptdz.pl

Project link: https://github.com/PTDZ/spike2EEGLAB

About

EEGLAB plugin | spike2EEGGLAB(): load CED Spike format dataset (.mat) and return EEGLAB EEG structure

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages