EEGLAB ببساطة
استخراج epochs
المحطة 5 · الدرس 1 · EEGLAB 2026.1
من الواجهة
- ToolsExtract epochs
- Extract data epochs - pop_epoch()...Time-locking event type(s) ([]=all)
- Ok
rtsquaresquaresquare - Epoch limits [start, end] in seconds
-1 2 - Name for the new dataset
D1 epochs - Out-of-bounds EEG limits if any [min max]
- OkName it:Overwrite it in memory (set=yes; unset=create a new dataset)Ok
السكربت
EEG = pop_epoch(EEG, {'square'}, [-1 2], 'newname', 'D1 epochs', 'epochinfo', 'yes');
EEG = eeg_checkset(EEG);
disp(size(EEG.data));
fprintf('Epochs: %d, from %.3f s to %.3f s\n', EEG.trials, EEG.xmin, EEG.xmax);أي قيمة أختار؟
| الهدف | النافذة |
|---|---|
| ERP فقط | تبدأ 200 ميلي ثانية على الأقل قبل الحدث، وتنتهي بعد آخر مكوّن ERP يهمّك |
| ERP مع تحليل زمني-ترددي | أطول، مثل -1 2 هنا |
| مسارنا في هذا الموقع | -1 2 |
لقسم Methods
Continuous data were segmented into epochs from -1 to 2 s relative to the onset of each square stimulus (pop_epoch, EEGLAB 2026.1), yielding [80] epochs.