[FieldTrip] ft_rejectvisual: removing trials marked as bad

Caspar, Emilie e.caspar at ucl.ac.uk
Tue Sep 9 08:37:13 CEST 2014


Hi Ashley,

Maybe the mistake is you did not integrate in your script the command to save the rejection. Normally, with the following command, you will see in the Matlab Window that artifacts are correctly rejected after the "quit" button.

clean_data    = ft_rejectvisual(cfg, interpoldata);
cfg.artfctdef.reject = 'complete';
cfg.artfctdef.feedback = 'yes';
cleandata = ft_rejectartifact(cfg,clean_data);

Emilie





Le 3 sept. 2014 à 11:58, Ashley Greene <agreene24 at gmail.com<mailto:agreene24 at gmail.com>> a écrit :

Hello,

I have used the rejectvisual function in attempt to remove bad trials, but after marking them and pressing the quit button, although the command window states that the selected trials have been removed, there is no obvious change in the data; all of the trials are still intact. Have I overlooked something?

Thanks,

Ashley
_______________________________________________
fieldtrip mailing list
fieldtrip at donders.ru.nl<mailto: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/20140909/4c2d0985/attachment-0002.html>


More information about the fieldtrip mailing list