<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:13px"><div id="yui_3_16_0_ym19_1_1481639452768_40406" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1481639452768_40406" dir="ltr">>> <span style="font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, "Lucida Grande", sans-serif;" id="yui_3_16_0_ym19_1_1481639452768_43142">Could you please explain the intention behind you approach?</span></div><div id="yui_3_16_0_ym19_1_1481639452768_40406" dir="ltr"><span style="font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, "Lucida Grande", sans-serif;"><br></span></div><div dir="ltr" id="yui_3_16_0_ym19_1_1481639452768_43309">Hello Andreas Widmann and Makoto Miyakoshi, when i was filtering epoched data, hoped this would improve the quality of the processed signal, but i was wrong. </div><div dir="ltr" id="yui_3_16_0_ym19_1_1481639452768_43310">I corrected the function eegfilt to eegfiltnew. Thank you so much for help me.</div><div id="yui_3_16_0_ym19_1_1481639452768_40406" dir="ltr"><br></div><div class="signature" id="yui_3_16_0_ym19_1_1481639452768_40685"><font size="2" color="#003333" id="yui_3_16_0_ym19_1_1481639452768_42754">Att</font><font size="2" id="yui_3_16_0_ym19_1_1481639452768_42227">. Tiago Lopes</font></div> <div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1481639452768_43944"><br><br></div><div class="yahoo_quoted" id="yui_3_16_0_ym19_1_1481639452768_44553" style="display: block;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif; font-size: 13px;" id="yui_3_16_0_ym19_1_1481639452768_44552"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif; font-size: 16px;" id="yui_3_16_0_ym19_1_1481639452768_44551"> <div dir="ltr" id="yui_3_16_0_ym19_1_1481639452768_44550"><font size="2" face="Arial" id="yui_3_16_0_ym19_1_1481639452768_44549"> On Wednesday, 30 November 2016, 6:59, Andreas Widmann <widmann@uni-leipzig.de> wrote:<br></font></div>  <br><br> <div class="y_msg_container" id="yui_3_16_0_ym19_1_1481639452768_44589">Hello Tiago,<br clear="none"><br clear="none">filtering of epoched data is actually not recommended. You will introduce edge effects. From your code example I do not yet understand why you would want to do that. Could you please explain the intention behind you approach?<br clear="none"><br clear="none">Please note that pop_eegfilt is broken and deprecated and was replaced by pop_eegfiltnew (see <a shape="rect" href="http://journal.frontiersin.org/article/10.3389/fpsyg.2012.00233/full" target="_blank" id="yui_3_16_0_ym19_1_1481639452768_44591">http://journal.frontiersin.org/article/10.3389/fpsyg.2012.00233/full </a>for details).<br clear="none"><br clear="none">Best,<br clear="none">Andreas<br clear="none"><div class="yqt9809064922" id="yqtfd29370"><br clear="none">> Am 28.11.2016 um 17:04 schrieb tiago lopes <<a shape="rect" ymailto="mailto:tiago.lopes56@yahoo.com" href="mailto:tiago.lopes56@yahoo.com">tiago.lopes56@yahoo.com</a>>:<br clear="none">> <br clear="none">> Hello Dears,<br clear="none">> I am developing an experiment where i try to evaluate the thalamocortical dysrhytimia in individuals with chronic pain.<br clear="none">> In order to improve the quality of the collected signal eeg by the removal of artifacts, i am filtring in two different moments:<br clear="none">> A) Before dividing into epochs<br clear="none">> B After being divided into epochs  <br clear="none">> <br clear="none">> My question is: Can filtering at two different times compromise the reliability of the collected signal? (ie, in addition to the artifact, am i taking out brain information that compromises the interpretation of the data?)<br clear="none">> <br clear="none">> Below is the script used in data processing.<br clear="none">> Thanks a lot for the help.<br clear="none">> <br clear="none">> path ='C:\Users\Tiago Lopes\Documents\MATLAB\Script\REPOUSO E IMG\01 Set epochs e ICA (REPOUSO)\';<br clear="none">> epochs ='C:\Users\Tiago Lopes\Documents\MATLAB\Script\REPOUSO E IMG\TABELA DE EVENTOS 5000ms.txt';<br clear="none">> name=strcat(path,'*.ASC');<br clear="none">> d=dir(name);<br clear="none">> <br clear="none">> for j=1:length(d)<br clear="none">>     filename = d(j).name;<br clear="none">>     EEG = pop_loadbci( filename, 600 );<br clear="none">>     EEG = pop_select( EEG,'nochannel',{'FOTO'});<br clear="none">>     EEG = pop_select( EEG,'nochannel',{'EMGd' 'EMGm'});<br clear="none">>     EEG = pop_chanedit(EEG, 'lookup','standard-10-5-cap385.elp');<br clear="none">>     EEG = pop_reref( EEG, [] );<br clear="none">>     EEG = pop_eegfilt( EEG, 0.5, 30, [], [0], 0, 0, 'fir1', 0);<br clear="none">>     EEG = pop_importevent( EEG, 'event',epochs,'fields',{'type' 'latency'},'skipline',1,'timeunit',0.001);<br clear="none">>     EEG = pop_epoch( EEG, {  }, [-.420 4.580], 'epochinfo', 'yes');<br clear="none">>     EEG = pop_rmbase(EEG,[-300 0]);<br clear="none">>     EEG = pop_eegfilt( EEG, 1.80, 30, [], [0], 0, 0, 'fir1', 0);<br clear="none">>     EEG = pop_epoch( EEG, {  }, [-.420 4.580], 'epochinfo', 'yes');<br clear="none">>     EEG = pop_rmbase(EEG,[-300 0]);<br clear="none">>     EEG = pop_runica(EEG, 'extended',1,'interupt','on');<br clear="none">>     EEG = pop_subcomp( EEG, [1 2], 0);<br clear="none">>     EEG = pop_saveset( EEG, 'filename',d(j).name,'filepath',path);<br clear="none">> end<br clear="none">> <br clear="none">> Att. Tiago Lopes</div><br clear="none">> _______________________________________________<br clear="none">> Eeglablist page: <a shape="rect" href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br clear="none">> To unsubscribe, send an empty email to <a shape="rect" ymailto="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.ucsd.edu</a><br clear="none">> For digest mode, send an email with the subject "set digest mime" to <a shape="rect" ymailto="mailto:eeglablist-request@sccn.ucsd.edu" href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.edu</a><div class="yqt9809064922" id="yqtfd29421"><br clear="none"></div><br><br></div>  </div> </div>  </div></div></body></html>