[FieldTrip] ft_rejectvisual: removing trials marked as bad

Ashley Greene agreene24 at gmail.com
Fri Sep 12 14:39:43 CEST 2014


Hi Emilie,

Thanks!! I, of course, completely overlooked that.

Ashley

On Tue, Sep 9, 2014 at 3:37 PM, Caspar, Emilie <e.caspar at ucl.ac.uk> wrote:

>  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> 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
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>
>
>
> _______________________________________________
> 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/20140912/795a7f96/attachment-0002.html>


More information about the fieldtrip mailing list