[FieldTrip] opposite to the ft_appenddata

Eelke Spaak eelke.spaak at donders.ru.nl
Mon Nov 5 17:18:27 CET 2012


Hi Nenad,

If I understand correctly what you want, ft_selectdata is what you are
looking for. You can use it to select specific trials or channels (or
time windows) from a data set. In the 'old' syntax, if you want trials
1, 3, and 5:

data = ft_selectdata(data, 'rpt', [1 3 5]);

Of course, the trial indices you will have to provide yourself, for
instance by looking at which trials originally came from which dataset
(i.e., prior to calling ft_appenddata).

Best,
Eelke

On 5 November 2012 17:01, Nenad Polomac <polomacnenad at gmail.com> wrote:
> Hi everybody,
>
> I would like to know does the fildtrip has some function opposite to the
> ft_appenddata. I have appended all trials from the two of my conditions in
> order to have more information for the ICA calculation. Now after
> ft_rejectcomponent I would like to bring back trials in a previous state.
> Do you have any advice?
>
> Thank you very much!
>
> Nenad
>
>
>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip



More information about the fieldtrip mailing list