[FieldTrip] appending data from two recordings

Raquel Bibi bibi.raquel at gmail.com
Fri Mar 14 12:08:21 CET 2014


Hi Phyllis,
I believe  a trial function (see ft_trialfun_general) will solve your problem. The concatenated datasets will still lose their sampleinfo field, but the trialinfo field will retain the proper offsets, triggers, etc. as long as you put them in your trial function. 

Best,

Raquel 

> On Mar 14, 2014, at 6:47 AM, "Phyllis Mania" <phyllis.mania at uni-hamburg.de> wrote:
> 
> Hi all,
>  
> I’ve been trying to append data from two datasets that were read in and segmented into trials separately.
> Whenever I do so all events get mixed up, i.e., eventvalues that were not specified for ft_definetrial (and ft_redefinetrial) show up in the databrowser and the original events of interest are not aligned to 0 anymore.
> The warning I get is “input data comes from different datafiles; removing sampleinfo field”.
>  
> Is there another way to combine data from different recordings? I use Vision Recorder and subjects need to take a break during the experiment, which is why I end up with two datasets in the first place.
>  
> I figured that combining the datasets before defining trials would be more efficient anyway but then I don’t know how to read in all events (since ft_definetrial requires one dataset).
>  
> Thanks in advance!
> Phyllis
>  
>  
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20140314/1bb5a24c/attachment.html>


More information about the fieldtrip mailing list