[FieldTrip] common ft_freqbaseline for variable length trials

Tzvetan Popov tzvetan.popov at uni-konstanz.de
Mon Jun 15 21:37:21 CEST 2015

Hi Wanja,

> For some reason I cannot seem to find an option to redefine and average the trials after baseline and wavelet analysis.
I guess what you are after is ft_selectdata for selecting your desired time freq chan. Then you could do ft_freqdescriptives or use cfg.avgoverrpt = ‘yes’; during the call to ft_selectdata.
Side note: baseline over the single trials and than averaging vs. average over rpt and then baseline will produce different output. I’m not sure whether you want to do single trial baseline correction or not.
In any case the latter is typically done in the literature.

Good luck,

More information about the fieldtrip mailing list