EEGLAB ببساطة

الاستيفاء (interpolation)

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

من الواجهة

  1. EditSelect dataChannel(s)on->remove theseOK D1 badchC3
  2. Channels per frame D1 noC3
  3. ToolsInterpolate electrodesInterpolate channel(s) -- pop_interp()
  4. Use all channels from other datasetDataset indexOKWhat channel(s) do you want to interpolate 2D1 badchC3
  5. Interpolation methodSphericalTime range [min max] (s)OK
  6. PlotChannel data (scroll) C3D1 badchD1 C3 back
  7. ToolsInterpolate electrodes
  8. Use all channels from other dataset
  9. SphericalOK D1 interp

السكربت

if ~isempty(badChans)
    EEG = pop_interp(EEG, fullLocs, 'spherical');
end
EEG.setname = 'D1 interp';
fprintf('Channels after interpolation: %d\n', EEG.nbchan);
EEG = pop_saveset(EEG, 'filename', 'D1_interp.set', 'filepath', pwd);
testChan = 'C3';
EEG_drop = pop_select(EEG, 'rmchannel', {testChan});
EEG_back = pop_interp(EEG_drop, fullLocs, 'spherical');
iOrig = find(strcmp({EEG.chanlocs.labels}, testChan));
iBack = find(strcmp({EEG_back.chanlocs.labels}, testChan));
r = corrcoef(double(EEG.data(iOrig, :)), double(EEG_back.data(iBack, :)));
fprintf('Correlation between original and interpolated %s: %.2f\n', testChan, r(1, 2));

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

الإعدادالقيمة
طريقة الاستيفاءSpherical
مصدر المواقعكل القنوات من الداتاست التي قبل الحذف، أو fullLocs في السكربت
مكان الخطوةبعد حذف القنوات السيئة، وقبل إعادة المرجع
عدد القنوات المستوفاةقليل
Interpolate removed channel(s) في نافذة إعادة المرجعليس في مسارنا

تأكّد

  • عدد القنوات رجع كاملاً
  • نفس الترتيب
  • التمرين
  • الإشارة منطقية

لقسم Methods

Removed channels were interpolated using spherical spline interpolation (pop_interp, EEGLAB 2026.1).

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

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

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