[FieldTrip] preprocessing per channel

Eelke Spaak eelke.spaak at donders.ru.nl
Tue Apr 26 11:45:52 CEST 2011

Dear Lieneke,

To be honest, I have never tried preprocessing per channel before, so
I might not understand exactly what you mean by 'the output is
overwritten with every channel that is preprocessed'. If so, please
correct me :)

The cfg.method option governs only how data is read from disk, not
which parts of the data the preprocessing is applied to. If you only
want to preprocess certain channels, you can use cfg.channel = {...}
to specify which channels to preprocess. If you have different data
sets (e.g., corresponding to different output structures from
ft_preprocessing) that contain different channels (but the same
trials), you can concatenate them by using ft_appenddata

Hopefully this was somewhat helpful,


2011/4/26 Lieneke. Janssen <lieneke.janssen at student.ru.nl>:
> Dear Fieldtrippers,
> I was quite happy to find the possibility in fieldtrip to do preprocessing per channel instead of (the default) per trial.
> Unfortunately, if I say cfg.method = 'channel'; the output is overwritten with every channel that is preprocessed, so I end up only having the output from the last channel, whereas if the method is 'trial', the function nicely combines all preprocessed trials into the output file.
> Is there anything that can be done to get one preprocessing output file using cfg.method = 'channel';?
> Thanks!
> Best,
> Lieneke
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip

More information about the fieldtrip mailing list