<div dir="ltr">Dear Nenad,<div><br></div><div>I think the option cfg.padding only works for that iteration of ft_preprocessing, but what you can do, is select larger segments initially, and then run ft_preprocessing again with smaller segments. </div>

<div><br></div><div>While you can set ft_preprocessing to apply multiple different filters in one go (like a low-pass, a high-pass, and a DFT-filter, for example), using a similar filter multiple times (like a high-pass filter at 4Hz, and another at 8Hz) is usually not required, or recommended. If you do multiple analyses on the same data (which, for example, require different filters) you could find it useful to create multiple smaller pipelines with their own ft_preprocessing. Debugging complex analyses can be a lot easier that way:)</div>

<div><br></div><div>Hope this helps,</div><div><br></div><div>Casper</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jun 22, 2013 at 1:34 PM, Nenad Polomac <span dir="ltr"><<a href="mailto:polomacnenad@gmail.com" target="_blank">polomacnenad@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear all,
<div><br></div><div>In my pipeline I need two times to filter data with ft_preprocessing. Is it somehow possible to pad trials after segmentation? I need this in order to avoid filter artifacts during the second filtering.</div>


<div><br></div><div>Thank you in advance!</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Nenad</div>
</font></span><br>_______________________________________________<br>
fieldtrip mailing list<br>
<a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>
<a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br></blockquote></div><br></div>