[FieldTrip] using ft_rejectartifact on continuos data after manual rejection with ft_databrowser

Lozano Soldevilla, D. (Diego) d.lozanosoldevilla at fcdonders.ru.nl
Thu Apr 25 15:59:07 CEST 2013


Hi Jose, Are you analyzing continuous data? If this is the case, you should specify cfg.artfctdef.reject = 'partial' before calling ft_rejectartifact. The reason is that the default is 'complete' and if you're computing continuous data (not stimulus locked) you only have one trial and for instance nothing left after the rejection. best, Diego ----- Original Message -----
> From: "Jose Herrero" <jose.herrero66 at gmail.com>
> To: "FieldTrip discussion list" <fieldtrip at science.ru.nl>
> Sent: Thursday, 25 April, 2013 3:49:00 PM
> Subject: [FieldTrip] using ft_rejectartifact on continuos data after
> manual rejection with ft_databrowser
> dear Fieldtrippers,
> i am analysing spontaneous data and have some artifacts i'd like to
> exlcude by visual inspection on the contiunous data.
> So after prepocessing the data, I use
> cfg=ft_databrowser(cfg,alldata)
> and select manually the segments with artfacts.
> Then i run ft_rejectartifact
> cleandata = ft_rejectartifact(cfg,alldata);
> detected 12 visual artifacts
> rejected 1 trials completely
> rejected 0 trials partially
> resulting 0 trials
> Error using ft_rejectartifact (line 478)
> No trials left after artifact rejection.
> any idea which cfg specs should i use?
> thanks,
> --
> Jose L Herrero, PhD
> Department of Psychiatry
> Columbia University College of Physicians and Surgeons
> Cognitive Neuroscience and Schizophrenia Program
> Nathan S. Kline Institute for Psychiatric Research
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
-- PhD Student Neuronal Oscillations Group Donders Institute for Brain, Cognition and Behaviour Centre for Cognitive Neuroimaging Trigon, room 0.83 Kapittelweg 29 Radboud University Nijmegen NL-6525 EN Nijmegen The Netherlands E-Mail: d.lozanosoldevilla at fcdonders.ru.nl Tel: +31-(0)24-36-66274 Web: http://www.neuosc.com/ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20130425/c4a5297c/attachment-0002.html>


More information about the fieldtrip mailing list