[Eeglablist] Problem epoching backwards using 0 as start/end point

Makoto Miyakoshi mmiyakoshi at ucsd.edu
Fri Jul 27 15:45:16 PDT 2018


Dear Dritan,

> I found that both codes above epoch from event to 4 second after the
event and I want to epoch 4 seconds before.

What is your SOA (stimulus onset asynchrony, which is the interval from
stimulus offset to the next stimulus onset)?

Makoto

On Thu, Jul 19, 2018 at 3:35 AM Dritan Nikolla <dritannikolla at yahoo.com>
wrote:

> Hi all,
>
> I am trying to epoch from 4 seconds before an event up to the event. the
> code I am using is this:
>
> EEG = pop_epoch( EEG, triggers, [0  -4], 'newname', sprintf('epoch_%s',
> files(index).name), 'epochinfo', 'yes');
>
>
> I also tried this:
>
>
> EEG = pop_epoch( EEG, triggers, [-4  0], 'newname', sprintf('epoch_%s',
> files(index).name), 'epochinfo', 'yes');
>
> triggers is a cell array:
>
>
>   triggers = {'Center_Right_Right' 'Center_Right_Left'
> 'Center_Left_Right' 'Center_Left_Left'...
>
>               'L_Right_Right' 'L_Right_Left' 'R_Right_Right'
> 'R_Right_Left' 'L_Left_Right'...
>
>               'L_Left_Left' 'R_Left_Right' 'R_Left_Left'
> 'CenterEmpty_Right'       'CenterEmpty_Left'...
>
>               'RightEmpty_Right' 'RightEmpty_Left' 'Left_Empty_Right'
> 'Left_Empty_Left'};
> The algorithm works fine, no errors, however, when I checked the data
> manually I found that both codes above epoch from event to 4 second after
> the event and I want to epoch 4 seconds before. What am I doing wrong?
>
> Thank you very much,
> Dritan
> _______________________________________________
> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
> To unsubscribe, send an empty email to
> eeglablist-unsubscribe at sccn.ucsd.edu
> For digest mode, send an email with the subject "set digest mime" to
> eeglablist-request at sccn.ucsd.edu



-- 
Makoto Miyakoshi
Swartz Center for Computational Neuroscience
Institute for Neural Computation, University of California San Diego
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20180727/389e1040/attachment.html>


More information about the eeglablist mailing list