[Eeglablist] Pop_rejchan with kurtosis returns NaN

Makoto Miyakoshi mmiyakoshi at ucsd.edu
Wed Dec 9 16:54:49 PST 2015


Dear Adrien,

In calculating kurtosis if you have continuous zeros or near-zero values it
would fail. Remove those problematic portions before calculating kurtosis.

By the way I don't recommend you use kurtosis for cleaning epochs. Use
simple amplitude threshold at +/-500 or around (i.e. absolutely
unacceptable), then improbability test with SD==5-8 (i.e. relatively bad).

Makoto

On Tue, Dec 8, 2015 at 7:12 AM, Adrien Martel <amartel at tcd.ie> wrote:

> When using pop_rejchan with kurtosis (normalised) in the results one of
> the channels is returned with the Measure NaN. Other methods of that
> function return a value between 0.5-1.
>
> What could be the reason for this? This is after importing raw data,
> filtering (0.5-40Hz with separate lowpass and then highpass) and
> downsampling (512->256).
> When I look at the raw data, the channel seems weirdly flat but the values
> do change. This happens with 2 subjects out of 3 on the same channel (POz).
> I would just interpolate it after the rest of the analysis but that channel
> is of particular interest to my study.
>
> Any help would be greatly appreciated,
> Adrien
>
>
>
> _______________________________________________
> 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/20151209/3679b1e2/attachment.html>


More information about the eeglablist mailing list