<div class="gmail_quote"><div>Kaveh,</div><div> </div><div>In addition to Casper's comment, I just wanted to add: depending on what data processing you plan to do and what is the nature of your three different data sets per subject, it may be important to *not* merge the datasets right away. For example, if the reason you have three recordings for each participant is that they were recorded in three separate sessions (with the cap taken off and re-applied in between) and if you are planning on running an ICA algorithm, you should keep the datasets separate and run ICA separately on each one before merging them; there might be other procedures I'm not aware of that also have this caveat. I'm not sure what sort of data processing you have in mind so I'm not sure if this issue will apply to you, I just wanted to mention it.</div>
<div> </div><div>Best,</div><div>Steve</div><div> </div><div> </div><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">
<br>
Message: 3<br>
Date: Wed, 27 Jun 2012 15:34:11 +0200<br>
From: Casper van Heck <<a href="mailto:caspervanheck@gmail.com">caspervanheck@gmail.com</a>><br>
To: FieldTrip discussion list <<a href="mailto:fieldtrip@science.ru.nl">fieldtrip@science.ru.nl</a>><br>
Subject: Re: [FieldTrip] Merging files and speeding up<br>
Message-ID:<br>
<<a href="mailto:CAJ7RtRGb2LtyTeFbPasrhTdB0Z7CApAL4D_9iUQ9eLQ2%2Bsjfhw@mail.gmail.com">CAJ7RtRGb2LtyTeFbPasrhTdB0Z7CApAL4D_9iUQ9eLQ2+sjfhw@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Kaveh,<br>
<br>
'ft_appenddata <<a href="http://fieldtrip.fcdonders.nl/reference/ft_appenddata" target="_blank">http://fieldtrip.fcdonders.nl/reference/ft_appenddata</a>>' can<br>
combine data from separate files into one datafile with a single command:<br>
data = ft_appenddata(cfg,data1,data2,data3)<br>
<br>
If you want to save it as a brainvision datafile, the funcion<br>
'ft_write_data<<a href="http://fieldtrip.fcdonders.nl/reference/ft_write_data" target="_blank">http://fieldtrip.fcdonders.nl/reference/ft_write_data</a>>'<br>
should come in handy. Its use is explained on the page 'How can I convert<br>
one dataformat into an<br>
other<<a href="http://fieldtrip.fcdonders.nl/faq/how_can_i_convert_one_dataformat_into_an_other?s[]=brainvision" target="_blank">http://fieldtrip.fcdonders.nl/faq/how_can_i_convert_one_dataformat_into_an_other?s[]=brainvision</a>><br>
'.<br>
<br>
Good luck,<br>
<br>
Casper<br>
<br>
<br>
<br>
On Wed, Jun 27, 2012 at 1:13 PM, kaveh manshaei <<br>
<a href="mailto:kaveh.manshaei@googlemail.com">kaveh.manshaei@googlemail.com</a>> wrote:<br>
<br>
> Hi all<br>
><br>
> I have 3 blocks for each patient in my experiment and there are separately<br>
> header , marker and dat file for each of them! I would like to merge these<br>
> files together and generate one header and one dat and one marker file for<br>
> each patient! Is it possible in fieldtrip or you know the other way around?<br>
><br>
> Thanks in advance<br>
> Kaveh<br>
</blockquote></div>