<div dir="ltr"><div>Dear Aaron,<br><br></div>Note that the decimation process is indeed the use of a low-pass filter and subsequent downsampling. As you may already know, this is to avoid aliasing. Otherwise is just an interpolation.<br>
<br>"Decimation reduces the original sampling rate for a sequence to a lower rate, the opposite of interpolation. The decimation process filters the input data with a lowpass filter and then resamples the resulting smoothed signal at a lower rate."<br>
<div><div><div class="gmail_extra"><br><br></div><div class="gmail_extra">Best,<br><br></div><div class="gmail_extra">Rodrigo<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 13, 2014 at 7:08 AM, Aaron Schurger <span dir="ltr"><<a href="mailto:aaron.schurger@gmail.com" target="_blank">aaron.schurger@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
It seems that ft_resample applies to all of the channels in the data<br>
structure. During resampling fieldtrip applies a filter, which adds<br>
artifacts to the step function in the trigger channels. For<br>
downsampling at least it would be great if you could specify a subset<br>
of channels to be downsampled by simple decimation (i.e. skip the<br>
lowpass filter). Is there any built-in way to do this?<br>
Thanks!<br>
Aaron<br>
<br>
--<br>
Aaron Schurger, PhD<br>
Senior researcher<br>
Laboratory of Cognitive Neuroscience<br>
Brain-Mind Institute, Department of Life Sciences<br>
École Polytechnique Fédérale de Lausanne<br>
Station 19, AI 2101<br>
1015 Lausanne, Switzerland<br>
<a href="tel:%2B41%2021%20693%201771" value="+41216931771">+41 21 693 1771</a><br>
<a href="mailto:aaron.schurger@epfl.ch">aaron.schurger@epfl.ch</a><br>
<a href="http://lnco.epfl.ch/" target="_blank">http://lnco.epfl.ch/</a><br>
<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></blockquote></div><br></div></div></div></div>