[Eeglablist] Epoching resting state EEG
Eric HG
erichg2013 at gmail.com
Mon Aug 23 11:38:42 PDT 2021
Dear Eeglablist,
I have been trying to epoch resting state EEG data. So far, I have the
following script:
"ELength=1;
Frames=EEG.pnts;
Sampling=EEG.srate;
for Epoch=1:Frames/(ELength*Sampling)
EEG.event(Epoch).latency=ELength*Sampling*Epoch;
EEG.event(Epoch).type='';
end
EEG = pop_epoch( EEG, { }, [0 ELength], 'epochinfo', 'yes');"
This gives me one-second epochs with 200 samples in each (equal to the
sampling frequency). The epoch start time is 0 and the epoch end time is
0.995.
Is this correct?
Best regards,
Eric
More information about the eeglablist
mailing list