POP_EPOCH | Epoching a continuous eeglab dataset. |
Usage: | >> [outeeg, indexes] = pop_epoch( EEG, events, srate, timelim, valuelim); |
Inputs: | |
EEG |
input dataset |
events |
events (expressed in second) |
srate |
sampling rate in Hz |
timelim |
[init end] in second for trial extraction centered on the events (i.e. [-1 2]) |
valuelim |
upper and lower limit of values that a trial should not overpass. If one positive value is given, consider the opposite for lower bound. Given values are also consider outlier (if equal the trial is rejected). Default: none. |
Outputs: | |
outeeg |
output dataset |
indexes |
indexes of accepted events |
See also: | eeglab, epoch |