spike2EEGGLAB(): load CED Spike format dataset (.mat) and return EEGLAB EEG structure
[EEG] = spike2EEGLAB()
EEG - EEGLAB EEG structure
Note: Import is possible via .mat files that can be saved in CED Spike software.
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:
- File > Manage EEGLAB extensions
- Search for 'spike2EEGLAB' OR filter the plugins with 'import' keyword and find spike2EEGLAB plugin
- 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)
- File > Export as...
- Choose MATLAB data *.mat and file name.
- Choose channels or 'All channels'.
- Choose time range: 0 to MaxTime() (*whether you want to export the whole recording)
- Click 'Add', then click 'Export'.
- Choose layout options as 'Waveform and times' then click 'OK'.
*Please, be sure that your recording is scaled in microvolts (µV).
- MATLAB
- EEGLAB
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.
Patrycja | mail[at]ptdz.pl
Project link: https://github.com/PTDZ/spike2EEGLAB