[FieldTrip] apply filter after ft-artefactreject

Julian Keil julian.keil at gmail.com
Wed May 3 09:31:51 CEST 2017

Dear Conny,

you can call the preprocessing-options in (more or less) all subsequent functions by using cfg.preproc.XXX

So, for example, in the ft_timelockanalysis, you can filter the data by using cfg.preproc.lpfilter = 'yes'; (as well as the other filter settings).
However, please be careful with using multiple filters in one dataset.

Good luck,


Am 03.05.2017 um 07:37 schrieb <cornelia.quaedflieg at uni-hamburg.de>:

> Dear fieldtrip users,
> In the pre-processing, we applied a filter for the 50Hz noise (and harmonics) caused by the power supply in our MEG data.
> During ICA for EOG and ECG correction we noticed in some participants a 50Hz component.
> That is why we want to apply a bsfilter after ICA correction once more (different filter used the dft filter before).
> Our idea was to run ft_pre-processing on the cleaned ICA data. However, after running the ft-artefactreject you get an structure and ft_preprocessing doesn’t work with structures as input.
> An idea about how we could do this is appreciated.
> Best
> Dr. Conny Quaedflieg
> Hamburg University
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20170503/3db71fea/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20170503/3db71fea/attachment-0002.sig>

More information about the fieldtrip mailing list