appenddata

Ingrid Nieuwenhuis ingrid.nieuwenhuis at FCDONDERS.RU.NL
Tue May 8 18:44:37 CEST 2007


Hello Sameer,

Yes it will work correctly. The only thing the function does with the .trl
is concatenate that too.
line 172 in newest version:
% also concatenate the trial specification
  cfg.trl = cat(1, trl{:});

It doesn't care about dataset, headerfile, datatype and trialdef as long as
you have the same channels in all datasets it works.

Bests Ingrid

-----Original Message-----
From: FieldTrip discussion list [mailto:FIELDTRIP at NIC.SURFNET.NL] On Behalf
Of Sameer Walawalkar
Sent: Tuesday, May 08, 2007 6:05 PM
To: FIELDTRIP at NIC.SURFNET.NL
Subject: [FIELDTRIP] appenddata

Hello,

The usage for appenddata is
data = appenddata(cfg,data1,data2,data3)

I can see that appenddata does look for cfg.trl etc. If I have cfg1, cfg2,
cfg3,  corresponding to data1, data2, data3, where dataset, headerfile,
datatype and trialdef are the same and the only difference is ofcourse in
the .trl field, will
data = appenddata(cfg1,data1,data2,data3) work correctly?

Thanks for your reply,
sameer

----------------------------------
The aim of this list is to facilitate the discussion between users of the
FieldTrip  toolbox, to share experiences and to discuss new ideas for MEG
and EEG analysis. See also
http://listserv.surfnet.nl/archives/fieldtrip.html and
http://www.ru.nl/fcdonders/fieldtrip.

----------------------------------
The aim of this list is to facilitate the discussion between users of the FieldTrip  toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis. See also http://listserv.surfnet.nl/archives/fieldtrip.html and http://www.ru.nl/fcdonders/fieldtrip.



More information about the fieldtrip mailing list