[Eeglablist] Interleaving rest with multiple active epochs

Tarik S Bel-Bahar tarikbelbahar at gmail.com
Thu Jan 17 13:30:15 PST 2019

Hi John, some brief notes below. If you get to greater clarity on this
point, thanks for sharing back with the list. Cheers!

   - It might be better to show moves relative to rests in a more
   principled manner (just go with published methods in good journals using
   protocols similar to yours (see for example recent Makeig mobile EEG papers)
   - You may have inconsistencies between your (inserted) rests and the
   moves. (In that it's not continuous data, and there will be jumps in the
   data where you've merged the epochs).
   - Please try reviewing published methods and past eeglablist posts
   (googlable) on other ways to baseline the move events.
   - One should be able to build a matrix of new data via script that
   matches EEG.data but has the rest move rest move rest version of the data.
   One would build that via a small script, and then insert as the new
   EEG.data, and then epoch/analyze from there.
   - Alternatively one could loop through a continuous file with the move
   epochs in it, and subtract some baseline or rest from each of the move
   periods, via script.
   - If you haven't, consider the baseline before each move as a possible
   useful period of interest for baselining move effects.
   - Using mergeset in a loop would work as well, if done correctly via

Luck, S. J., & Gaspelin, N. (2017). How to get statistically significant
effects in any ERP experiment (and why you shouldn't). *Psychophysiology*,
*54*(1), 146-157.
Liang, M., Starrett, M. J., & Ekstrom, A. D. (2018). Dissociation of
frontal‐midline delta‐theta and posterior alpha oscillations: A mobile EEG
study. *Psychophysiology*, e13090.

On Thu, Jan 17, 2019 at 2:24 PM Johnson, John T. <john.johnson at gatech.edu>

> Hello,
> I have a study where the user rests, then performs 6 cyclical movements,
> then rests. I would like to compare portions of the 6 cyclical movements to
> the rest before my cue for the participant to start.
> rest1 moveA1 moveA2 moveA3 moveA4 moveA5 moveA6 rest2 moveB1 move B2 …
> I have event markers at each move, and another at move1 that signifies the
> end of rest.
> Ideally, I would like to have this:
> rest1 move1 rest1 move2 rest1 move3 … rest2 moveB1 rest2 moveB2 …
> The idea being that I could then epoch at each move, dip fit, load them
> all into a study, and do component localization based on ERSP of each move
> relative to rest.
> Is repeatedly calling pop_mergeset, building the target dataset one epoch
> at a time, the best way to handle this?
> Thanks,
> John T. Johnson
> PhD Student - Cognitive Motor Control Laboratory
> Lab TA NEURO 2001 Principles
> School of Biological Sciences
> Georgia Institute of Technology
> 678-575-2093
> john.johnson at gatech.edu
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20190117/3c4ecbbf/attachment.html>

More information about the eeglablist mailing list