<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Thank you!<div><br></div><div>In fact, I wanted .ds because I wanted to use Brainstorm (and brainstorm doesn't read ITAB data format). If I can't that's ok, I will use Fieldtrip! </div><div><br></div><div>I could find <i>read_itab_mhd</i> but I don't find <i>read_itab_raw</i> (mines are .raw from ITAB). I also found <i>itab2grad. :)</i><br><br>Best,</div><div>Daphné<br><div><hr id="stopSpelling">Date: Thu, 20 Aug 2015 16:09:09 +0100<br>From: litvak.vladimir@gmail.com<br>To: fieldtrip@science.ru.nl<br>Subject: Re: [FieldTrip] Convert .mat to .ds<br><br><div dir="ltr">Just to add to Jim's point, some ITAB formats are supported in Fieldtrip (I see itab_raw and itab_mhd). If you can get your data to be in one of those formats, things will be much easier for you.<div><br></div><div>Best,</div><div><br></div><div>Vladimir</div></div><div class="ecxgmail_extra"><br><div class="ecxgmail_quote">On Thu, Aug 20, 2015 at 4:05 PM, Herring, J.D. (Jim) <span dir="ltr"><<a href="mailto:j.herring@donders.ru.nl" target="_blank">j.herring@donders.ru.nl</a>></span> wrote:<br><blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex;">





<div lang="EN-US">
<div>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d;">Dear Daphne,<u></u><u></u></span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d;"><u></u> <u></u></span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d;">If you are trying to read your own data format into fieldtrip, perhaps you should have a look at this page:
<a href="http://www.fieldtriptoolbox.org/faq/how_can_i_import_my_own_dataformat" target="_blank">
http://www.fieldtriptoolbox.org/faq/how_can_i_import_my_own_dataformat</a><u></u><u></u></span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d;"><u></u> <u></u></span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d;">It would be easier to transform your data format to be used in Fieldtrip than to first convert it to a CTF format and then read it into Fieldtrip.<u></u><u></u></span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d;"><u></u> <u></u></span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d;">Best,<u></u><u></u></span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d;"><u></u> <u></u></span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d;">Jim<u></u><u></u></span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d;"><u></u> <u></u></span></p>
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm;">
<p class="ecxMsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";"> <a href="mailto:fieldtrip-bounces@science.ru.nl" target="_blank">fieldtrip-bounces@science.ru.nl</a> [mailto:<a href="mailto:fieldtrip-bounces@science.ru.nl" target="_blank">fieldtrip-bounces@science.ru.nl</a>]
<b>On Behalf Of </b>Daphné Bertrand-Dubois<br>
<b>Sent:</b> donderdag 20 augustus 2015 16:14<br>
<b>To:</b> FieldTrip discussion list</span></p><div><div class="h5"><br>
<b>Subject:</b> Re: [FieldTrip] Convert .mat to .ds<u></u><u></u></div></div><BR>
</div>
</div><div><div class="h5">
<p class="ecxMsoNormal"><u></u> <u></u></p>
<div>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">Thank you!<u></u><u></u></span></p>
<div>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"><u></u> <u></u></span></p>
</div>
<div>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">It was my error : I downloaded an older version, the one on the top of the list!<u></u><u></u></span></p>
</div>
<div>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"><u></u> <u></u></span></p>
</div>
<div>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">I am a little bit confused, it looks like if I need to put .ds as an input file. I just have .mat times-series that doesn't come from CTF so I cannot use readCTFds.m. Would it be possible
 to convert .mat times-series (nSensor x ntimes-series) to .ds?<u></u><u></u></span></p>
</div>
<div>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"><u></u> <u></u></span></p>
</div>
<div>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">Best,<u></u><u></u></span></p>
</div>
<div>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"><u></u> <u></u></span></p>
</div>
<div>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">Daphné<u></u><u></u></span></p>
</div>
<div>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"><u></u> <u></u></span></p>
<div>
<div class="ecxMsoNormal" align="center" style="text-align:center;"><span style="font-family:"Calibri","sans-serif";">
<hr size="2" width="100%" align="center">
</span></div>
<p class="ecxMsoNormal" style=""><span style="font-family:"Calibri","sans-serif";">From:
<a href="mailto:j.herring@donders.ru.nl" target="_blank">j.herring@donders.ru.nl</a><br>
To: <a href="mailto:fieldtrip@science.ru.nl" target="_blank">fieldtrip@science.ru.nl</a><br>
Date: Thu, 20 Aug 2015 07:37:20 +0000<br>
Subject: Re: [FieldTrip] Convert .mat to .ds<u></u><u></u></span></p>
<div>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d;">Dear Daphne,</span><span style="font-family:"Calibri","sans-serif";"><u></u><u></u></span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d;"> </span><span style="font-family:"Calibri","sans-serif";"><u></u><u></u></span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d;">I have checked for you and the newest available version of fieldtrip (also fieldtrip-lite) includes writeCTFds.m in the folder ‘fieldtrip\external\ctf\’. I
 have also checked a version from 2010 and it was there back then as well. </span>
<span style="font-family:"Calibri","sans-serif";"><u></u><u></u></span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d;"> </span><span style="font-family:"Calibri","sans-serif";"><u></u><u></u></span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d;">Best,</span><span style="font-family:"Calibri","sans-serif";"><u></u><u></u></span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d;"> </span><span style="font-family:"Calibri","sans-serif";"><u></u><u></u></span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d;">Jim</span><span style="font-family:"Calibri","sans-serif";"><u></u><u></u></span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d;"> </span><span style="font-family:"Calibri","sans-serif";"><u></u><u></u></span></p>
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm;">
<p class="ecxMsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";">
<a href="mailto:fieldtrip-bounces@science.ru.nl" target="_blank">fieldtrip-bounces@science.ru.nl</a> [<a href="mailto:fieldtrip-bounces@science.ru.nl" target="_blank">mailto:fieldtrip-bounces@science.ru.nl</a>]
<b>On Behalf Of </b>Daphné Bertrand-Dubois<br>
<b>Sent:</b> woensdag 19 augustus 2015 17:19<br>
<b>To:</b> <a href="mailto:fieldtrip@science.ru.nl" target="_blank">fieldtrip@science.ru.nl</a><br>
<b>Subject:</b> [FieldTrip] Convert .mat to .ds</span><span style="font-family:"Calibri","sans-serif";"><u></u><u></u></span></p>
</div>
</div>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"> <u></u><u></u></span></p>
<div>
<p class="ecxMsoNormal"><span style="font-family:"Tahoma","sans-serif";">Hi,</span><span style="font-family:"Calibri","sans-serif";"><u></u><u></u></span></p>
<div>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"> <u></u><u></u></span></p>
</div>
<div>
<p class="ecxMsoNormal"><span style="font-family:"Tahoma","sans-serif";">I have data (from the MEG at ITAB) that cannot be process by fieldtrip. Howerver, we have convert them into .mat file and I would like them to be in .ds format so I can process the data.</span><span style="font-family:"Calibri","sans-serif";"><u></u><u></u></span></p>
<div>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"> <u></u><u></u></span></p>
</div>
<div>
<p class="ecxMsoNormal"><span style="font-family:"Tahoma","sans-serif";">I read this message: </span><span style="font-family:"Calibri","sans-serif";"><u></u><u></u></span></p>
</div>
<div>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"> <u></u><u></u></span></p>
</div>
<div>
<p class="ecxMsoNormal"><b><span style="font-family:"Tahoma","sans-serif";">" Hello z.imane</span></b><span style="font-family:"Calibri","sans-serif";"><u></u><u></u></span></p>
</div>
<div>
<pre style="white-space:pre-wrap;"><b><span style="font-family:"Tahoma","sans-serif";"> </span></b><u></u><u></u></pre>
<pre><b><span style="font-family:"Tahoma","sans-serif";">To convert .mat to .ds, try using the function writeCTFds.m located in the</span></b><u></u><u></u></pre>
<pre><b><span style="font-family:"Tahoma","sans-serif";">fieldtrip folder /fieldtrip/external/ctf/</span></b><u></u><u></u></pre>
<pre><b><span style="font-family:"Tahoma","sans-serif";"> </span></b><u></u><u></u></pre>
<pre><b><span style="font-family:"Tahoma","sans-serif";">Best</span></b><u></u><u></u></pre>
<pre><b><span style="font-family:"Tahoma","sans-serif";">Bankim Subhash Chander "</span></b><u></u><u></u></pre>
<pre style="white-space:pre-wrap;"><span style="font-family:"Tahoma","sans-serif";">But I did not find the "external" folder with the function writeCTFd.m inside. Maybe it is because I have the new version?</span><u></u><u></u></pre>
<pre style="white-space:pre-wrap;"><span style="font-family:"Tahoma","sans-serif";">Best regards,</span><u></u><u></u></pre>
<pre style="white-space:pre-wrap;"><span style="font-family:"Tahoma","sans-serif";">Daphné</span><u></u><u></u></pre>
</div>
</div>
</div>
</div>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"><br>
_______________________________________________ fieldtrip mailing list <a href="mailto:fieldtrip@donders.ru.nl" target="_blank">
fieldtrip@donders.ru.nl</a> <a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">
http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><u></u><u></u></span></p>
</div>
</div>
</div>
</div></div></div>
</div>

<br>_______________________________________________<br>
fieldtrip mailing list<br>
<a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>
<a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" rel="noreferrer" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br></blockquote></div><br></div>
<br>_______________________________________________
fieldtrip mailing list
fieldtrip@donders.ru.nl
http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</div></div>                                           </div></body>
</html>