[FieldTrip] ft_artifact_zvalue

Schoffelen, J.M. (Jan Mathijs) jan.schoffelen at donders.ru.nl
Mon Jan 7 12:49:43 CET 2019


Dear Vahab,

Indeed, ft_artifact_zvalue looks for positive values for artifacts.
What is the comment you are looking for?

Best wishes,
Jan-Mathijs

> On 12 Dec 2018, at 21:34, Vahab Yousofzadeh <bioeng.yoosofzadeh at gmail.com> wrote:
> 
> Dear FT experts,
> 
> Seems that the ft_artifact_zvalue only takes positive z-values to look
> for artifacts:
> https://www.dropbox.com/s/zbhslrn12j6ug7o/EOG_Artifacts.tif?dl=0
> 
> different than a sample figure in,
> http://www.fieldtriptoolbox.org/tutorial/automatic_artifact_rejection/
> 
> Here are my settings:
> cfg            = [];
> cfg.continuous = 'yes';
> cfg.artfctdef.zvalue.channel     = refchan;
> cfg.artfctdef.zvalue.cutoff      = z_ther;
> cfg.artfctdef.zvalue.trlpadding  = 0;
> cfg.artfctdef.zvalue.artpadding  = 0.1;
> cfg.artfctdef.zvalue.fltpadding  = 0;
> cfg.artfctdef.zvalue.bpfilter   = 'yes';
> cfg.artfctdef.zvalue.bpfilttype = 'but';
> cfg.artfctdef.zvalue.bpfreq     = [1 15];
> cfg.artfctdef.zvalue.bpfiltord  = 4;
> cfg.artfctdef.zvalue.hilbert    = 'yes';
> cfg.artfctdef.zvalue.interactive = interactive;
> [~, artifact_EOG] = ft_artifact_zvalue(cfg, data);
> 
> Any comments are welcomed,
> - Vahab
> _______________________________________________
> fieldtrip mailing list
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> https://doi.org/10.1371/journal.pcbi.1002202





More information about the fieldtrip mailing list