[FieldTrip] What exactly does filterpadding do?
Diego Lozano-Soldevilla
dlozanosoldevilla at gmail.com
Mon May 2 15:24:40 CEST 2016
Dear Julia,
>From the FAQ section:
http://www.fieldtriptoolbox.org/faq/how_does_the_filter_padding_in_preprocessing_work
http://www.fieldtriptoolbox.org/faq/how_can_i_interpret_the_different_types_of_padding_that_i_find_when_dealing_with_artifacts
I hope that helps,
Diego
On 2 May 2016 at 15:08, Brehm, J. (Julia) <j.brehm at uu.nl> wrote:
> Dear list,
>
> I am having problems applying filterpadding when using ft_artifact_zvalue.
>
> Could someone please explain what exactly the effect of filterpadding is,
> and in which cases I can apply it and in which not?
>
> I intended to use it to avoid edge effects in the artifact detection.
> However, I get the following warning (only when applying fltpadding, my
> data does not actually contain NaNs):
>
> Warning: data contains NaNs, no filtering or preprocessing applied
> > In ft_warning (line 181)
> In preproc (line 282)
> In ft_artifact_zvalue (line 292)
>
> These are my settings:
> cfg = [];
> cfg.trl = temptrl; % all trials
>
> cfg.artfctdef.zvalue.channel = channel{ch}; % single channel
> cfg.artfctdef.zvalue.cutoff = 3;
> cfg.artfctdef.zvalue.fltpadding = 0.1;
>
> cfg.artfctdef.zvalue.bpfilter = 'yes';
> cfg.artfctdef.zvalue.bpfilttype = 'but';
> cfg.artfctdef.zvalue.bpfreq = [1 3];
> cfg.artfctdef.zvalue.bpfiltord = 2;
> cfg.artfctdef.zvalue.hilbert = 'yes';
>
> Thanks!
>
> Best,
> Julia
>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20160502/1f93329c/attachment-0002.html>
More information about the fieldtrip
mailing list