<div dir="ltr"><div dir="ltr">Hi Aitor,</div><div dir="ltr">May be what you're looking for is "ft_artifact_threshold.m". That being said, I don't recommend rejecting artifacts without visually inspecting the data. Absolute threshold do not necessarily generalize across subjects and/or experimental sessions.</div><div>I hope that helps,</div><div>Diego</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 20 Jan 2019 at 17:45, Aitor Egurtzegi <<a href="mailto:aitor.martinezegurcegui@uzh.ch">aitor.martinezegurcegui@uzh.ch</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Diego,<br>
<br>
Thanks for the help. However, I was wondering if there is a way to <br>
reject artifacts without visually inspecting them. Like, from the manual <br>
you sent I see that I still would have to click on the trials / channels <br>
I would like to reject? Is there a way to script it based on some <br>
previously established parameters, without having to check all trials / <br>
channels for each participant?<br>
<br>
Best,<br>
Aitor<br>
<br>
> Date: Fri, 18 Jan 2019 16:47:17 +0100<br>
> From: Diego Lozano-Soldevilla <<a href="mailto:dlozanosoldevilla@gmail.com" target="_blank">dlozanosoldevilla@gmail.com</a>><br>
> To: FieldTrip discussion list <<a href="mailto:fieldtrip@science.ru.nl" target="_blank">fieldtrip@science.ru.nl</a>><br>
> Subject: Re: [FieldTrip] automatic channel rejection<br>
> Message-ID:<br>
>       <<a href="mailto:CAEVBUjij4o8J-U10rF4Oxfa9d81tE_BD3t81DcdSy-VQfeTnUA@mail.gmail.com" target="_blank">CAEVBUjij4o8J-U10rF4Oxfa9d81tE_BD3t81DcdSy-VQfeTnUA@mail.gmail.com</a>><br>
> Content-Type: text/plain; charset="utf-8"<br>
><br>
> Hi Aitor,<br>
> Take a look at this<br>
> <a href="http://www.fieldtriptoolbox.org/tutorial/visual_artifact_rejection/#manual-artifact-rejection---display-a-summary" rel="noreferrer" target="_blank">http://www.fieldtriptoolbox.org/tutorial/visual_artifact_rejection/#manual-artifact-rejection---display-a-summary</a><br>
> Best,<br>
> Diego<br>
><br>
> On Fri, 18 Jan 2019 at 16:43, Aitor Egurtzegi <<br>
> <a href="mailto:aitor.martinezegurcegui@uzh.ch" target="_blank">aitor.martinezegurcegui@uzh.ch</a>> wrote:<br>
><br>
>> Dear Fieldtrip subscribers,<br>
>><br>
>> I was wondering if anyone knew how to automatically reject bad channels<br>
>> in Fieldtrip, as it is done in EEGLAB based on e.g. kurtosis. Basically,<br>
>> I'm looking for the Fieldtrip equivalent of the EEGLAB function<br>
>> pop_rejchan.<br>
>><br>
>> Many thanks in advance,<br>
>> Aitor<br>
>><br>
>> _______________________________________________<br>
>> fieldtrip mailing list<br>
>> <a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" rel="noreferrer" target="_blank">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br>
>> <a href="https://doi.org/10.1371/journal.pcbi.1002202" rel="noreferrer" target="_blank">https://doi.org/10.1371/journal.pcbi.1002202</a><br>
_______________________________________________<br>
fieldtrip mailing list<br>
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" rel="noreferrer" target="_blank">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br>
<a href="https://doi.org/10.1371/journal.pcbi.1002202" rel="noreferrer" target="_blank">https://doi.org/10.1371/journal.pcbi.1002202</a><br>
</blockquote></div>