<div dir="ltr">Hi Michael,<div><br></div><div>Power grid fluctuations and changes in EMI from movement or other factors can cause line noise frequency and complex amplitude to vary over time. Cleanline subtracts from the data a time-domain sinusoid representing the best estimate of the deterministic line noise signal (based on a frequency-domain regression). If a single sinusoid estimate is obtained for all the data, but the line noise frequency or amplitude drifts over time this may result in suboptimal correction. For this reason, using a shorter sliding window for noise correction is generally the best approach. There are options for this in Cleanline. I usually recommend starting with a 4 sec window with 4 sec step size (no overlap), but you may want to start with 10 seconds since you've already had good results there.</div>


<div><br></div><div>Tim</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Dec 14, 2013 at 11:43 AM, Michael Schubert <span dir="ltr"><<a href="mailto:mschuber@mail.upb.de" target="_blank">mschuber@mail.upb.de</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="DE" link="blue" vlink="purple"><div><p class="MsoNormal"><span lang="EN-US">Hi Tim,<u></u><u></u></span></p>


<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">we recorded EEG data outdoor and unfortunately have a lot of line noise (plus its harmonics) in it. I tried Cleanline to get rid of the noise but wasn¢t very happy with the result when I used the whole recording (approx. 500s). However when I only use the first 10 or 20 seconds, Cleanline performs great.<u></u><u></u></span></p>


<p class="MsoNormal"><span lang="EN-US">From this, can you guess what the problem might be? Its continuous data with no boundaries in it, so I¢m guessing phase changes are not the problem?!<u></u><u></u></span></p><p class="MsoNormal">


<span lang="EN-US">The plots I attached show the effect and were created using Cleanline with default settings.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal">


<span lang="EN-US">Thanks,<span><font color="#888888"><u></u><u></u></font></span></span></p><span><font color="#888888"><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal">
<span lang="EN-US">Michael<u></u><u></u></span></p><p class="MsoNormal"><u></u> <u></u></p></font></span></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>---------  áíôßëçøç -----------
</div></div>