<div dir="auto">Hi Aitor,<div dir="auto">Take a look to ft_selectdata.m</div><div dir="auto">Best,</div><div dir="auto">Diego</div></div><br><div class="gmail_quote"><div dir="ltr">On Sun, Jan 27, 2019, 18:10 Aitor Egurtzegi <<a href="mailto:aitor.martinezegurcegui@uzh.ch">aitor.martinezegurcegui@uzh.ch</a> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Diego,<br>
<br>
Thanks for your message. Is it possible to reject the trials / channels <br>
by giving a list of indices to a function, just like when running <br>
ft_rejectcomponent, where you reject components by passing a list of the <br>
components to be rejected to the cfg.component method?<br>
<br>
Best,<br>
Aitor<br>
> Message: 2<br>
> Date: Fri, 25 Jan 2019 13:59:49 +0100<br>
> From: Diego Lozano-Soldevilla <<a href="mailto:dlozanosoldevilla@gmail.com" target="_blank" rel="noreferrer">dlozanosoldevilla@gmail.com</a>><br>
> To: FieldTrip discussion list <<a href="mailto:fieldtrip@science.ru.nl" target="_blank" rel="noreferrer">fieldtrip@science.ru.nl</a>><br>
> Subject: Re: [FieldTrip] automatic channel rejection<br>
> Message-ID:<br>
> <<a href="mailto:CAEVBUjiq4uriOg1pawV58eGhsBTUrzpB2KW9mweQWhEOkGi6kA@mail.gmail.com" target="_blank" rel="noreferrer">CAEVBUjiq4uriOg1pawV58eGhsBTUrzpB2KW9mweQWhEOkGi6kA@mail.gmail.com</a>><br>
> Content-Type: text/plain; charset="utf-8"<br>
><br>
> Hi Aitor,<br>
> May be what you're looking for is "ft_artifact_threshold.m". That being<br>
> said, I don't recommend rejecting artifacts without visually inspecting the<br>
> data. Absolute threshold do not necessarily generalize across subjects<br>
> and/or experimental sessions.<br>
> I hope that helps,<br>
> Diego<br>
><br>
> On Sun, 20 Jan 2019 at 17:45, Aitor Egurtzegi <<br>
> <a href="mailto:aitor.martinezegurcegui@uzh.ch" target="_blank" rel="noreferrer">aitor.martinezegurcegui@uzh.ch</a>> wrote:<br>
><br>
>> 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" rel="noreferrer">dlozanosoldevilla@gmail.com</a>><br>
>>> To: FieldTrip discussion list <<a href="mailto:fieldtrip@science.ru.nl" target="_blank" rel="noreferrer">fieldtrip@science.ru.nl</a>><br>
>>> Subject: Re: [FieldTrip] automatic channel rejection<br>
>>> Message-ID:<br>
>>> <<br>
>> <a href="mailto:CAEVBUjij4o8J-U10rF4Oxfa9d81tE_BD3t81DcdSy-VQfeTnUA@mail.gmail.com" target="_blank" rel="noreferrer">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>
>>><br>
>> <a href="http://www.fieldtriptoolbox.org/tutorial/visual_artifact_rejection/#manual-artifact-rejection---display-a-summary" rel="noreferrer 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" rel="noreferrer">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 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 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 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 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 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 noreferrer" target="_blank">https://doi.org/10.1371/journal.pcbi.1002202</a><br>
</blockquote></div>