[FieldTrip] from trials to continuous and an error in selfromraw

van Lier Ben ben.vanlier at bsse.ethz.ch
Wed Aug 7 13:00:31 CEST 2013


Hi Eelke,

thanks. its the little things you miss so cfg.trials = 1 works ofcourse :)

for plotting all the trials in a continuous spectrum i just merge them into 1 big trial first

cfg = [];
cfg.trl = [1 max(max(data.sampleinfo)) 0];
data = ft_redefinetrial(cfg, data);

perfect for my purposes, im trying to reanalyze old recordings chopped into several files but ft_append puts them in separate trials.

liking fieldtrip alot so far, very flexible :)

cheers
Ben




More information about the fieldtrip mailing list