EEGLAB ببساطة

الطيف الترددي PSD

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

من الواجهة

  1. PlotChannel spectra and maps
  2. Channel spectra and maps -- pop_spectopo()Epoch time range to analyze [min_ms max_ms]:
  3. Percent data to sample (1 to 100): 100
  4. Frequencies to plot as scalp maps (Hz): 106 10 22
  5. Plotting frequency range [lo_Hz hi_Hz]: 1 642 25
  6. Spectral and scalp map options (see topoplot):Ok

السكربت

figure;
[spectra, freqs] = pop_spectopo(EEG, 1, [0 EEG.xmax*1000], 'EEG', ...
    'freq', 10, 'freqrange', [1 64], 'electrodes', 'off');
fprintf('Frequency step: %.2f Hz\n', freqs(2) - freqs(1));
pz = find(strcmp({EEG.chanlocs.labels}, 'Pz'));
alphaBand = freqs >= 8 & freqs <= 13;
alphaFreqs = freqs(alphaBand);
[peakPow, iPeak] = max(spectra(pz, alphaBand));
fprintf('Alpha peak at Pz: %.0f Hz, %.1f dB\n', alphaFreqs(iPeak), peakPow);
[~, order] = sort(spectra(:, freqs == 10), 'descend');
disp({EEG.chanlocs(order(1:5)).labels});

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

الإعدادالقيمة
نطاق الرسممن 1 إلى 64 هرتز هنا (حتى نصف معدل العيّنات)
ترددات خرائط الرأس10 هرتز لألفا
نسبة البيانات100
طول النافذةالافتراضي (ثانية واحدة، 128 نقطة)
أي بياناتمستمرة نظيفة قبل الـ low-pass

لقسم Methods

Power spectral density was estimated for each channel from the continuous ICA-cleaned data using Welch's method with 1-s Hamming windows and no overlap (pop_spectopo, EEGLAB 2026.1).

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

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

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