EEGLAB ببساطة

بيانات BIDS و OpenNeuro

المحطة 2 · الدرس 4 · EEGLAB 2026.1

من الواجهة

  1. FileImport dataUsing EEGLAB functions and pluginsFrom BIDS folder structureFileBIDS toolsImport BIDS folder to STUDY
  2. Select FolderOpenImport BIDS data -- pop_importbids() ds002718
  3. Use BIDS electrode.tsv files (when present) for channel locations; off: look up locations using channel labels EEG001
  4. Use BIDS event.tsv files for events and use the following BIDS field for event type trial_typevalue
  5. Study output folder ds002718/derivatives/eeglab
  6. 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 folderderivatives/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.

النسخة الكاملة: https://simplyeeglab.pages.dev/lesson/bids-openneuro/

رخصة المحتوى: CC BY-NC-SA 4.0 · MIT (code)

موقع تعليمي مستقل، غير تابع رسمياً لـ EEGLAB أو SCCN.