2
$\begingroup$

I need to understand the meaning of an epoch in EEG signal. I have an EEG signal. Then how can I get the epoch?

$\endgroup$
2
$\begingroup$

EEG epoching is a procedure in which specific time-windows are extracted from the continuous EEG signal. These time windows are called “epochs”, and usually are time-locked with respect an event e.g. a visual stimulus.

If your EEG data are in a matrix [channel x time] where time is the complete continuous EEG signal, after the epoching procedure you should have a matrix [channel x time x epochs] where time is the time length of each epoch, and epochs is the number of segments you extracted from continuous EEG signal.

Finally, if you want to extract epochs from your signal, you should know what are the segments of interest to be analyzed, for instance, a specific stimulus.

| improve this answer | |
$\endgroup$
  • $\begingroup$ so,how to apply an ML type across subjects analysis on this type of data?I have epoched data which is a 3d matrix for each subject in the experiment.after extracting features, this becomes a 2d matrix (n_epochs, n_features).So, each data point in this dataset is this 2d matrix.How to proceed with an analysis on this? $\endgroup$ – bespectacled Jun 1 '19 at 2:43
1
$\begingroup$

In order to answer your question in a simple way, imagine we have a signal x with length of 60-s and our sampling frequency is 1 Hz.

The matrix representation of your EEG signal would be 1*60 array or matrix, so if you divide your main signal to some 2-s signals, you would have 30 epoch(each 2s of your main signal would be an epoch).

You could done this by a simple for loop in matlab and at the end you would have a new matrix which size is 30*1*2.

| improve this answer | |
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.