You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tutorials/misc/EEGLAB_and_iEEG_data.md
+16-8
Original file line number
Diff line number
Diff line change
@@ -5,29 +5,37 @@ long_title: EEGLAB and MEG data
5
5
parent: Reference Topics
6
6
grand_parent: Tutorials
7
7
---
8
-
EEGLAB and iEEG/sEEG/ECoG data
8
+
EEGLAB and iEEG, sEEG or ECoG data
9
9
====================
10
10
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 BIDSformatted MEG data. You may install plugins from the EEGLAB plugin manager (menu item <spanstyle="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 <spanstyle="color: brown">File > Manage EEGLAB extensions</span>).
14
14
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
First, download the data. Second, use menu item <spanstyle="color: brown">File > BIDS Tools > Import BIDS folder to STUDY</span>.
18
20
Leave all defaults and press OK (you may also select the column of interest for event types). Alternatively, use
19
21
menu item <spanstyle="color: brown">File > Import data > Using EEGLAB functions and plugins > Import MEF3 folder</span> to import the <i>mefd</i>
20
22
folder located in the <i>ds003708/sub-01/ses-ieeg01/ieeg/</i> folder of the BIDS dataset.
21
23
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>.
23
25
24
26

25
27
26
-
Below the channel locations for the same dataset above are shown.
28
+
The channel locations for the same dataset are shown below.
27
29
28
30

29
31
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 <spanstyle="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 <spanstyle="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
31
39
32
40
Other relevant resources for processing iEEG data:
0 commit comments