[Eeglablist] Flat data in a continuous EEG & Linear Regression

Jerry Zhu jerryzhu at siu.edu
Wed Jul 30 11:02:02 PDT 2014


Hi Srinivas,

Flat lines have limited variable data. So you can try:

    devStd = std(EEG.data(:,:), [], 2);
    if any(devStd == 0)
        flatchan = find(devStd == 0)';
   end

If you need complete codes, feel free to email me.

Good luck with your study!
Jerry

--
Jian Zhu, M.A.
Brain and Cognitive Sciences
Department of Psychology
Southern Illinois University Carbondale
Web: http://zhupsy.com

We have two halves in the brain: left and right. Nothing is right in the
left. Nothing is left in the right.


On Wed, Jul 30, 2014 at 10:46 AM, Srinivas Kota <svkota at gmail.com> wrote:

> Hello
>
> I have a few portions of flat data in a continuous EEG. Is there any
> better way over visual inspection to reject those flat lines from
> continuous EEG?
>
>
> Gwin et. al 2010, (movement artifacts during walking/running) mentioned
> "linearly regress artifact template from the data". What is the built-in
> routine in EEGLAB to perform this?
>
> Best Regards,
> Srini.
>
>
> --
>
> ***********************************************************
> Srinivas Kota, Ph.D
> Research Scientist
> Movement and Neurosciences Center
> Institute for Rehabilitation Science and Engineering
> Madonna Rehabilitation Hospital
> 5401 South St, Lincoln, NE 68506
> www.madonna.org/research_institute/index.html
> <https://owa.madonna.org/owa/redir.aspx?C=RNnR5lrQvEmYU7lVtl6kLHIjwe3PiNAI8ouI90lD2Vnn4niuQ5QMBdLYDKmByFhfb525xS5XXT8.&URL=http%3a%2f%2fwww.madonna.org%2fresearch_institute%2findex.html>
> ***********************************************************
>
> _______________________________________________
> 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/20140730/25acb45c/attachment.html>


More information about the eeglablist mailing list