EEGLAB ببساطة
القنوات السيئة
المحطة 3 · الدرس 4 · EEGLAB 2026.1
من الواجهة
- PlotChannel data (scroll)
- PlotChannel spectra and maps
- Plotting frequency range [lo_Hz hi_Hz]:OK
1 64 - PlotChannel properties
- ToolsReject data using Clean Rawdata and ASR
- Remove channel drift (data not already high-pass filtered)
- Process/remove channels
- Ignore these channels (ECG, EMG, ...)
EOG1 EOG2 - Remove channel if it is flat for more than (seconds)Max acceptable high-frequency noise std devMin acceptable correlation with nearby chans [0-1]
- Perform Artifact Subspace Reconstruction bad burst correction/rejectionAdditional removal of bad data periods
- OK
Scanning for bad channels... - Overwrite it in memory (set=yes; unset=create a new dataset)
D1 badch - EditSelect dataChannel(s)on->remove theseOK
- 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).