<div dir="ltr">Dear Chris,<div><br></div><div>> noise ranging all the way from 10 up to 14 dB<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Oh that's BIG.</div><div class="gmail_extra"><br></div><div class="gmail_extra">First of all, CleanLine can only deal with sinusoidal artifact. I don't know the source of your 20Hz noise, but you'd better confirm what it is. You also want to confirm how temporally stable it is. To do this, bandpass filter the data 18-22 Hz or around and see the time series. Do you see rather fast wax and wane of it? Compare your CleanLine sliding window length to the approximate time constant of the wax and wane of the target noise. If the former is too large, of course CleanLine would fail.</div><div class="gmail_extra"><br></div><div class="gmail_extra">That being said, this seems most suspicious.</div><div class="gmail_extra"><br></div><div class="gmail_extra">> Yet when I save the 'cleaned' file, the spectral peak at 20Hz remains unchanged (despite the window showing original and cleaned spectra for selected channels shows clear differences in the frequency band that I'm interested in cleaning). Any input would be most helpful, all the best.<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">I wonder if EEG is not updated correctly after computation. Make sure that you close the windows by pressing 'ok' buttion only... sometimes this solves the problem.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Just in case why don't you tell me your Matlab version, EEGLAB version, and OS.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Makoto</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 31, 2016 at 9:15 AM, Christopher Barkley <span dir="ltr"><<a href="mailto:barkl025@umn.edu" target="_blank">barkl025@umn.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Apologies for the double email, but I wanted to add, to maybe assist in resolving this issue, that when the CleanLine script is actually running, it states that it is actually is removing *large* amounts of noise in and around 20Hz (I have tried different bandwidths, as well as tinkering with the step size and window size parameters), noise ranging all the way from 10 up to 14 dB. Yet when I save the 'cleaned' file, the spectral peak at 20Hz remains unchanged (despite the window showing original and cleaned spectra for selected channels shows clear differences in the frequency band that I'm interested in cleaning). Any input would be most helpful, all the best.<div>- Chris<br><div class="gmail_quote">---------- Forwarded message ----------</div><div class="gmail_quote"><br>From: <b class="gmail_sendername">Christopher Barkley</b> <span dir="ltr"><<a href="mailto:barkl025@umn.edu" target="_blank">barkl025@umn.edu</a>></span><br>Date: Thu, Mar 31, 2016 at 2:19 AM<br>Subject: Problem using CleanLine<br>To: <a href="mailto:eeglablist@sccn.ucsd.edu" target="_blank">eeglablist@sccn.ucsd.edu</a><div><div class="h5"><br><br><br><div dir="ltr">Hi all,<div>     I am having issues using Cleanline (The current release), and I am using EEGLAB 13_4_3b), while following (with minor adjustments) Makoto's pre-processing pipeline (<a href="http://sccn.ucsd.edu/wiki/Makoto%27s_preprocessing_pipeline" target="_blank">http://sccn.ucsd.edu/wiki/Makoto%27s_preprocessing_pipeline</a>). </div><div>     We have noticed a strange 20Hz artifact in some of subject's data and want to use CleanLine to eliminate it rather than a traditional notch filter for fear of creating a band hole at this frequency. The issue is that, after some messing around with various solutions, I've noticed that CleanLine only is effective at reducing noise at this frequency when I apply it to epoched data, but not continuous, data, and I was wondering if anyone has any idea on why this might be. </div><div>     I plan to remove bad channels using TrimOutlier, interpolate, and then reference to the CAR prior to epoching, so I don't want to delay referencing, channel removal, etc. until post-epoching for fear of introducing all sorts of noise into my data. Any help on this would be *much* appreciated, many thanks.</div><div><br></div><div>Chris Barkley</div><div>College of Pharmacy</div><div>University of Minnesota</div></div>
</div></div></div><br></div></div>
<br>_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" rel="noreferrer" target="_blank">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>