EEGLAB ببساطة

القنوات السيئة

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

من الواجهة

  1. PlotChannel data (scroll)
  2. PlotChannel spectra and maps
  3. Plotting frequency range [lo_Hz hi_Hz]:OK 1 64
  4. PlotChannel properties
  5. ToolsReject data using Clean Rawdata and ASR
  6. Remove channel drift (data not already high-pass filtered)
  7. Process/remove channels
  8. Ignore these channels (ECG, EMG, ...) EOG1 EOG2
  9. Remove channel if it is flat for more than (seconds)Max acceptable high-frequency noise std devMin acceptable correlation with nearby chans [0-1]
  10. Perform Artifact Subspace Reconstruction bad burst correction/rejectionAdditional removal of bad data periods
  11. OK Scanning for bad channels...
  12. Overwrite it in memory (set=yes; unset=create a new dataset) D1 badch
  13. EditSelect dataChannel(s)on->remove theseOK
  14. FileSave current dataset as D1 badch

السكربت

EEG_test = pop_clean_rawdata(EEG, 'FlatlineCriterion', 5, 'ChannelCriterion', 0.8, ...
    'LineNoiseCriterion', 4, 'Highpass', 'off', 'BurstCriterion', 'off', ...
    'WindowCriterion', 'off', 'BurstRejection', 'off', 'Distance', 'Euclidian', ...
    'channels_ignore', {'EOG1', 'EOG2'});
badChans = setdiff({EEG.chanlocs.labels}, {EEG_test.chanlocs.labels}, 'stable');
fprintf('Bad channels: %s\n', strjoin(badChans, ', '));
if ~isempty(badChans)
    EEG = pop_select(EEG, 'rmchannel', badChans);
end
EEG.setname = 'D1 badch';
EEG = pop_saveset(EEG, 'filename', 'D1_badch.set', 'filepath', pwd);

أي قيمة أختار؟

الإعدادالقيمة
خط مسطّح5 ثوانٍ
ضوضاء الترددات العالية4 انحرافات معيارية
الارتباط بالقنوات المجاورة0.8
قنوات العين والقلبتُستبعد من الفحص
ASR وحذف المقاطعغير مفعّلين في هذا الدرس

تأكّد

  • عدد القنوات
  • قائمتك مكتوبة
  • الطيف بعد الحذف
  • قنوات العين باقية

لقسم Methods

Bad channels were identified by visual inspection of the continuous data and channel spectra and with clean_rawdata (flatline criterion 5 s, channel correlation criterion 0.8, line noise criterion 4 SD; EOG channels excluded; clean_rawdata plugin 2.11, EEGLAB 2026.1) and removed ([0] channels).

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

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

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