[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 17:07:34 CEST 2013


Indeed: artf1.artfctdef.visual.artifact is a Nx2 matrix that contains the begin and the end sample that you manually select, being N the number of selected artifacts Saludos! Diego ----- Original Message -----
> From: "Jose Herrero" <jose.herrero66 at gmail.com>
> To: "Diego Lozano" <diego.lozanosoldevilla at fcdonders.ru.nl>,
> "FieldTrip discussion list" <fieldtrip at science.ru.nl>
> Sent: Thursday, 25 April, 2013 4:51:18 PM
> Subject: Re: [FieldTrip] using ft_rejectartifact on continuos data
> after manual rejection with ft_databrowser
> thanks so much Diego. that works just fine.
> it is a nice tool and, as far as i see, you can do it again if
> necessary
> [e.g. artf1=ft_databrowser(cfg,cleandata)] and
> artf1.artfctdef.visual.artifact will keep adding times for artifacts,
> correct?
> On Thu, Apr 25, 2013 at 9:59 AM, Lozano Soldevilla, D. (Diego) <
> d.lozanosoldevilla at fcdonders.ru.nl > wrote:
> > 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
> > > 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/
> > _______________________________________________
> > fieldtrip mailing list
> > fieldtrip at donders.ru.nl
> > http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> --
> 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/41d7fcf6/attachment-0002.html>


More information about the fieldtrip mailing list