Skip to content

Commit 13e5a64

Browse files
authored
Update EEGLAB_and_iEEG_data.md
1 parent f4172d4 commit 13e5a64

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

tutorials/misc/EEGLAB_and_iEEG_data.md

+16-8
Original file line numberDiff line numberDiff line change
@@ -5,29 +5,37 @@ long_title: EEGLAB and MEG data
55
parent: Reference Topics
66
grand_parent: Tutorials
77
---
8-
EEGLAB and iEEG/sEEG/ECoG data
8+
EEGLAB and iEEG, sEEG or ECoG data
99
====================
1010

11-
EEGLAB supports reading most iEEG data formats (EDF, MEF3) through native code
12-
or plugins. The BIDS-matlab-tools EEGLAB plugin
13-
also support importing BIDS formatted MEG data. You may install plugins from the EEGLAB plugin manager (menu item <span style="color: brown">File > Manage EEGLAB extensions</span>).
11+
EEGLAB supports reading most iEEG data formats (EDF, MEF3, NWB) through native code
12+
or plugins. The BIDS-Matlab-tools EEGLAB plugin
13+
also supports importing BIDS-formatted MEG data. You may install plugins from the EEGLAB plugin manager (menu item <span style="color: brown">File > Manage EEGLAB extensions</span>).
1414

15-
For example, after installing the MEF3 and BIDS-matlab-tools plugins, you may import the
15+
## Importing data
16+
17+
For example, after installing the MEF3 and BIDS-Matlab-tools plugins, you may import the
1618
[ds003708 BIDS dataset](https://nemar.org/dataexplorer/detail?dataset_id=ds003708&processed=0).
1719
First, download the data. Second, use menu item <span style="color: brown">File > BIDS Tools > Import BIDS folder to STUDY</span>.
1820
Leave all defaults and press OK (you may also select the column of interest for event types). Alternatively, use
1921
menu item <span style="color: brown">File > Import data > Using EEGLAB functions and plugins > Import MEF3 folder</span> to import the <i>mefd</i>
2022
folder located in the <i>ds003708/sub-01/ses-ieeg01/ieeg/</i> folder of the BIDS dataset.
2123

22-
When importing with BIDS, the advantage is that, along with the data, you will likely have access the iEEG electrode locations and relevant events. We show below the raw sEEG data for the unique subject in BIDS dataset <i>ds003708</i>.
24+
When importing with BIDS, the advantage is that, along with the data, you will likely have access to the iEEG electrode locations and relevant events. We show below the raw sEEG data for the unique subject in the BIDS dataset <i>ds003708</i>.
2325

2426
![Screen Shot 2022-09-09 at 3 16 34 PM](https://user-images.githubusercontent.com/1872705/189453192-66169ca9-174b-419c-ba7b-2bada4cbda91.png)
2527

26-
Below the channel locations for the same dataset above are shown.
28+
The channel locations for the same dataset are shown below.
2729

2830
![Screen Shot 2022-09-09 at 3 16 56 PM](https://user-images.githubusercontent.com/1872705/189453262-e942a285-b19f-455e-aad0-b38bbc62d0dd.png)
2931

30-
Even if you are not planning to use EEGLAB to process iEEG data, importing your iEEG data into EEGLAB and resaving it into an EEGLAB dataset may be useful to process it in other software.
32+
Even if you are not planning to use EEGLAB to process iEEG data, importing your iEEG data into EEGLAB and resaving it into an EEGLAB dataset may be useful for processing it in other software.
33+
34+
## Importing spike information
35+
36+
EEGLAB allows importing spikes as events when using the NWB (Neurodata Without Border). Below, we show an example using the file [sub-01_ses-20140828T132700_ecephys+image.nwb](https://api.dandiarchive.org/api/assets/94ba06fc-c870-4698-9c31-f403ee733887/download/) of this [DandiSet](https://dandiarchive.org/dandiset/000576/). After downloading the file, and after installing the NWB-io EEGLAB plugins (menu item <span style="color: brown">File > EEGLAB extensions</span> then install the NWB-io plugin). After installing the plugin, import the file above in EEGLAB using menu item <span style="color: brown">File > Import data > Using EEGLAB functions and plugins > From NWB file</span>.
37+
38+
Once the file has been imported, use menu item
3139

3240
Other relevant resources for processing iEEG data:
3341
- [Fieldtrip sEEG tutorial](https://www.fieldtriptoolbox.org/tutorial/human_ecog/)

0 commit comments

Comments
 (0)