EEGLAB ببساطة
بيانات BIDS و OpenNeuro
المحطة 2 · الدرس 4 · EEGLAB 2026.1
من الواجهة
- FileImport dataUsing EEGLAB functions and pluginsFrom BIDS folder structureFileBIDS toolsImport BIDS folder to STUDY
- Select FolderOpenImport BIDS data -- pop_importbids()
ds002718 - Use BIDS electrode.tsv files (when present) for channel locations; off: look up locations using channel labels
EEG001 - Use BIDS event.tsv files for events and use the following BIDS field for event type
trial_typevalue - Study output folder
ds002718/derivatives/eeglab - OK
السكربت
[ALLEEG, EEG, CURRENTSET, ALLCOM] = eeglab;
bidsFolder = 'C:\Users\me\Documents\eeg-course\ds002718';
[STUDY, ALLEEG] = pop_importbids(bidsFolder, ...
'eventtype', 'trial_type', 'bidsevent', 'on', 'bidschanloc', 'on', ...
'outputdir', fullfile(bidsFolder, 'derivatives', 'eeglab'));
CURRENTSTUDY = 1; EEG = ALLEEG; CURRENTSET = 1:numel(EEG);
eeglab redraw;
EEG(1).nbchan % 74
EEG(1).srate % 250
numel(EEG(1).event) % 1479
eeg_eventtypes(EEG(1)) % right_sym 500, famous_new 150, ...أي قيمة أختار؟
| الخيار | اختيارنا |
|---|---|
| عمود نوع الحدث | trial_type |
| Use BIDS electrode.tsv files | مفعّلة |
| Study output folder | derivatives/eeglab (الافتراضي) |
| Import only the following participant indices | غير مفعّلة |
تأكّد
- قائمة Datasets فيها الداتاست 1، واختيارها يعرض 74 قناة، و 250 هرتز، و 1479 حدثاً
eeg_eventtypes(EEG(1))يعرض أسماء مثلright_symوfamous_newوboundary، لا أرقاماً- سطر Channel locations يعرض
Yes، و Plot > Channel locations > By name يعرض الأقطاب على الرأس - في المجلد
ds002718/derivatives/eeglab/sub-002/eeg/ملف.setالمستورد
لقسم Methods
EEG data in BIDS format (OpenNeuro ds002718, participant sub-002) were imported with pop_importbids (EEG-BIDS plugin 10.5, EEGLAB 2026.1), using the trial_type column for event types and electrode positions from electrodes.tsv.