EEGLAB ببساطة
ERP والمتوسطات
المحطة 6 · الدرس 1 · EEGLAB 2026.1
من الواجهة
- PlotChannel ERPsIn scalp/rect. array
- Topographic ERP plot - pop_plottopo()Channels to plotPlot single trialsPlot in rect. arrayOk
1:32
السكربت
erp = mean(EEG.data, 3);
fprintf('Averaged %d epochs\n', EEG.trials);
pz = find(strcmp({EEG.chanlocs.labels}, 'Pz'));
figure;
plot(EEG.times, erp(pz, :), 'k', 'LineWidth', 1.5);
xlim([-200 800]); grid on;
xline(0, '--'); yline(0);
xlabel('Time (ms)'); ylabel('Amplitude (\muV)');
title(sprintf('ERP at Pz, %d epochs', EEG.trials));
win = EEG.times >= 250 & EEG.times <= 600;
winTimes = EEG.times(win);
[peakAmp, iPeak] = max(erp(pz, win));
fprintf('Positive peak at Pz: %.1f uV at %.0f ms\n', peakAmp, winTimes(iPeak));
figure; pop_plottopo(EEG, 1:EEG.nbchan, EEG.setname, 0, 'ydir', 1);أي قيمة أختار؟
| الإعداد | القيمة |
|---|---|
| ما يدخل المتوسط | الـ epochs النظيفة من شرط واحد فقط |
| عدد المحاولات | أكثر ما تستطيع بعد الرفض، ونفس العدد تقريباً لكل شرط |
| نافذة البحث عن القمة | تُحدَّد قبل رؤية البيانات، من الأدبيات |
لقسم Methods
ERPs were computed by averaging the [N] artifact-free epochs time-locked to the square stimulus (EEGLAB 2026.1).