<div>Thanks Makoto, I investigated the issue a bit and found out that it was indeed because i didn't high pass filter the data prior to calling pop_spectopo. If I do, the spectrum looks fine. (I thought i replied to all but did only to Andreas.)</div>
<div><br></div>
<div>Best,</div>
<div>Max</div>
<div class="mailbox_signature"><br></div>
<br><br><div class="gmail_quote"><p>On Wed, Sep 2, 2015 at 7:48 PM, Makoto Miyakoshi <span dir="ltr"><<a href="mailto:mmiyakoshi@ucsd.edu" target="_blank">mmiyakoshi@ucsd.edu</a>></span> wrote:<br></p><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>
<div dir="ltr">Dear Maximilien,<div><br></div>
<div>I completely agree with Andreas. Your data must have a signal with very high amplitude. Use 'trimOutlier' plugin to find where it happens in your data (in both time domain and channels)</div>
<div><a href="http://sccn.ucsd.edu/wiki/Plugin_list_process">http://sccn.ucsd.edu/wiki/Plugin_list_process</a></div>
<div><br></div>
<div>'File' -> 'Manage EEGLAB extensions' and find trimOutlier.</div>
<div><br></div>
<div>Makoto<br><div><br></div>
<div><br></div>
</div>
</div>
<div class="gmail_extra">
<br><div class="gmail_quote">On Fri, Aug 28, 2015 at 12:28 AM, Andreas Widmann <span dir="ltr"><<a href="mailto:widmann@uni-leipzig.de">widmann@uni-leipzig.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Max,<br><br>
pwelch is quite sensitive to stronger DC offsets. I have seen similar patterns before. Do you possibly analyze raw Biosemi data? Could you please try to highpass filter the data?<br><br>
Best,<br>
Andreas<br><div><div class="h5">
<br>
> Am 27.08.2015 um 12:22 schrieb Maximilien Chaumon <<a href="mailto:maximilien.chaumon@gmail.com">maximilien.chaumon@gmail.com</a>>:<br>
><br>
> Hi,<br>
><br>
> Running a spectopo command on a continuous dataset as follows:<br>
> spec = pop_spectopo(EEG,1,[],'EEG','noplot','on','percent',5);<br>
> I get a terrible jagged spectrum, really ugly like a saw.<br>
> I tried to get to the bottom of the problem and ended up looking at the point where this pwelch function from signal toolbox is called. The spectrum that comes out of it is messed up (similar to above).<br>
> So I made sure this pwelch function isn't used and it shows a much nicer (normal) power spectrum.<br>
><br>
> Anyone had this issue already? How did you solve it?<br>
><br>
> I filed a bug: Bug 1791<br>
><br>
><br>
> Max<br></div></div>> _______________________________________________<br>
> Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" rel="noreferrer">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
> To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
> For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.edu</a><br><br>
_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" rel="noreferrer">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.edu</a><br></blockquote>
</div>
<br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Makoto Miyakoshi<br>Swartz Center for Computational Neuroscience<br>Institute for Neural Computation, University of California San Diego<br></div></div>
</div>
</div></blockquote></div><br>