[Eeglablist] Interleaving rest with multiple active epochs

Makoto Miyakoshi mmiyakoshi at ucsd.edu
Thu Jan 17 17:59:37 PST 2019

Dear John,

> and do component localization based on ERSP of each move relative to rest.

You might know this, but dipole fitting after ICA won't be affected by this
(assuming that single ICA is run on the data that is all the conditions
If you are talking about sensor-level, instantaneous maps, yes it might
affect the flow of your work, but still it should not change the data.

When computing ERSP, the 'baseline period' can be set in a custom latency
window even from GUI.
If you can code, you may want to consider this path:

   1. Compute ERSP with newtimef() option 'baseline', NaN so that you get
   non-dB-converted values (unit: RMS uV^2/Hz)
   2. Compute the mean ERSP value across your baseline period.
   3. Convert these values to dB by 10*log10(*values*)
   4. Subtract the baseline value from all the data points (assuming that
   they have the same length in frequency axis). This is the same as
   performing what EEGLAB does but manually.


On Thu, Jan 17, 2019 at 11:23 AM 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

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/20190117/f9584617/attachment.html>

More information about the eeglablist mailing list