-
Notifications
You must be signed in to change notification settings - Fork 17
Home
The EEGLAB menu to import a BIDS dataset into an EEGLAB study is fully functional. Screen capture is shown below.
Raw EEG data file often has events. However, BIDS also define events in dedicated event files. Sometimes the BIDS event files contain more information than the raw EEG data file. In that case, users may choose to overwrite raw EEG data events with the event information contained in the BIDS event files.
Similarly, raw EEG data files often define channel labels. However, BIDS also defines channel labels and channel locations in dedicated event files. By pressing the second checkbox, users may choose to use the channel label and location information contained in the BIDS channel definition files.
Finally, users may select an output folder for storing their EEGLAB STUDY. If a folder is not selected, EEGLAB will store STUDY files ''in place'' which means in the BIDS folder structure - resulting in the BIDS folder becoming non-BIDS compliant and failing to pass BIDS validation because of the additional EEGLAB files.
After installing the bids-matlab-tools plugin, the BIDS menu should appear in the EEGLAB File menu item as shown below.
Exporting a collection of datasets to BIDS can also conveniently be done from the command line. A documented example script bids_export_example.m and bids_export_example2.m (more recent) are provided. You may modify these scripts for your own purpose. The help message of the function bids_export.m also contains information on how to export data in BIDS format.