<div dir="ltr">do you have the config file near the data?<br><br><div class="gmail_quote">On 10 March 2011 20:35, Mehmet-Akif Coskun <span dir="ltr"><<a href="mailto:mcoskun@mail.uh.edu">mcoskun@mail.uh.edu</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Jan,<br><br><br>   Thanks for the reply. I tried reading from the raw data as suggested in the link and i always getting an error like below.<br>

<br><br>hdr=ft_read_header('E:\fieldtrip_data\c,rfhp0.1Hz')<br><br><br>?? Error using ==> fseek<br>Offset must be of class double<br><br><br>Error in==> fileio\private\read_4d_hdr_at_183<br>         fseek(fid,nbytes2 - 32, 'cof');<br>

<br><br>Error in ==> ft_read_header_at_246<br>       orig                   = read_4d_hdr(datafile,configfile)<br><br><br><br><br>the data that i try to read is raw data (unprocessed) but still i can't read. Previously i was trying the data that has been processed to remove environmental noise in 4d meg system sofware, and that didnt work too.<br>

<br><br>Which part i am missing?<br><br><br>Thanks<br><font color="#888888">Mehmet</font><div><div></div><div class="h5"><br><br>----- Original Message -----<br>From: jan-mathijs schoffelen <<a href="mailto:jan.schoffelen@donders.ru.nl" target="_blank">jan.schoffelen@donders.ru.nl</a>><br>

Date: Thursday, March 10, 2011 2:46 am<br>Subject: Re: [FieldTrip] 4d data reading (248 sensor MEG system)<br>To: Email discussion list for the FieldTrip project <<a href="mailto:fieldtrip@donders.ru.nl" target="_blank">fieldtrip@donders.ru.nl</a>><br>

<br><span><p></p><table><tbody><tr><td style="word-wrap:break-word"><p><font style="font-style:normal;font-weight:normal;background-color:rgb(245, 248, 240);font-size:14px">> </font>Hi Mehmet,</p><br><br><br><font style="font-style:normal;font-weight:normal;background-color:rgb(245, 248, 240);font-size:14px">> </font>Please have a look at <a href="http://fieldtrip.fcdonders.nl/getting_started/bti" target="_blank">http://fieldtrip.fcdonders.nl/getting_started/bti</a>.<br>

<font style="font-style:normal;font-weight:normal;background-color:rgb(245, 248, 240);font-size:14px">> </font><br><br><font style="font-style:normal;font-weight:normal;background-color:rgb(245, 248, 240);font-size:14px">> </font>I would not recommend the .xyz/.m4d variant, but would directly read from the raw data files. Support for .xyz/.m4d files (these files contain relevant header information) is implemented in fieldtrip just for backward compatibility. These need to be created from the raw data (using the pdf2set command (see the software manual of the MEG-system for reference)), but contain only limited header information (e.g. the balancing coefficients are not extracted). To me this sounds like double work, because FieldTrip can read the header information from the raw files directly.<br>

<font style="font-style:normal;font-weight:normal;background-color:rgb(245, 248, 240);font-size:14px">> </font><br><br><font style="font-style:normal;font-weight:normal;background-color:rgb(245, 248, 240);font-size:14px">> </font>Good luck,<br>

<font style="font-style:normal;font-weight:normal;background-color:rgb(245, 248, 240);font-size:14px">> </font><br><br><font style="font-style:normal;font-weight:normal;background-color:rgb(245, 248, 240);font-size:14px">> </font>Jan-Mathijs<br>

<font style="font-style:normal;font-weight:normal;background-color:rgb(245, 248, 240);font-size:14px">> </font><br><br><font style="font-style:normal;font-weight:normal;background-color:rgb(245, 248, 240);font-size:14px">> </font><br>

<br><font style="font-style:normal;font-weight:normal;background-color:rgb(245, 248, 240);font-size:14px">> </font><br><br><font style="font-style:normal;font-weight:normal;background-color:rgb(245, 248, 240);font-size:14px">> </font><br>

<br><br><font style="font-style:normal;font-weight:normal;background-color:rgb(245, 248, 240);font-size:14px">> </font>On Mar 10, 2011, at 6:36 AM, Mehmet-Akif Coskun wrote:<font style="font-style:normal;font-weight:normal;background-color:rgb(245, 248, 240);font-size:14px">> </font><br>

<blockquote type="cite"><div style="font-family:arial, helvetica, sans-serif;font-size:12px;background-color:white"><p style="font-family:arial, helvetica, sans-serif;font-size:12px"><font face="'PrimaSans BT,Verdana,sans-serif'"><font style="font-style:normal;font-weight:normal;background-color:rgb(245, 248, 240);font-size:14px">> </font>Hello Dear Fieldtrip users,<br>

<font style="font-style:normal;font-weight:normal;background-color:rgb(245, 248, 240);font-size:14px">> </font><br><font style="font-style:normal;font-weight:normal;background-color:rgb(245, 248, 240);font-size:14px">> </font><br>

<font style="font-style:normal;font-weight:normal;background-color:rgb(245, 248, 240);font-size:14px">> </font>       I am a newbie in fieldtrip. I am having trouble reading the 4d data in fieldtrip. We are using a 248 sensor 4D MEG system. I have followed the discussion list and tried the suggestions but haven't succeeded reading the data. As far as i understand, i need some files (.xyz and .m4d) to be able to read the data but i don't also know how to obtain these files. Can anyone explain me the steps that i need to follow?<br>

<font style="font-style:normal;font-weight:normal;background-color:rgb(245, 248, 240);font-size:14px">> </font><br><font style="font-style:normal;font-weight:normal;background-color:rgb(245, 248, 240);font-size:14px">> </font><br>

<font style="font-style:normal;font-weight:normal;background-color:rgb(245, 248, 240);font-size:14px">> </font>Thanks in advance,<br><font style="font-style:normal;font-weight:normal;background-color:rgb(245, 248, 240);font-size:14px">> </font>Mehmet</font></p>

</div><font style="font-style:normal;font-weight:normal;background-color:rgb(245, 248, 240);font-size:14px">> </font> _______________________________________________<br><font style="font-style:normal;font-weight:normal;background-color:rgb(245, 248, 240);font-size:14px">> </font>fieldtrip mailing list<br>

<a><font style="font-style:normal;font-weight:normal;background-color:rgb(245, 248, 240);font-size:14px">> </font>fieldtrip@donders.ru.nl</a><br><font style="font-style:normal;font-weight:normal;background-color:rgb(245, 248, 240);font-size:14px">> </font><a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a></blockquote>

<font style="font-style:normal;font-weight:normal;background-color:rgb(245, 248, 240);font-size:14px">> </font><br><div><font style="font-style:normal;font-weight:normal;background-color:rgb(245, 248, 240);font-size:14px">> </font> <span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><div style="word-wrap:break-word">

<span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="word-wrap:break-word">

<br>Dr. J.M. (Jan-Mathijs) Schoffelen </div><br><font style="font-style:normal;font-weight:normal;background-color:rgb(245, 248, 240);font-size:14px">> </font>Donders Institute for Brain, Cognition and Behaviour, <br>
<font style="font-style:normal;font-weight:normal;background-color:rgb(245, 248, 240);font-size:14px">> </font>Centre for Cognitive Neuroimaging,<br>
<font style="font-style:normal;font-weight:normal;background-color:rgb(245, 248, 240);font-size:14px">> </font>Radboud University Nijmegen, The Netherlands</span></div><br><a><font style="font-style:normal;font-weight:normal;background-color:rgb(245, 248, 240);font-size:14px">> </font>J.Schoffelen@donders.ru.nl</a></span></div>

<br><font style="font-style:normal;font-weight:normal;background-color:rgb(245, 248, 240);font-size:14px">> </font>Telephone: 0031-24-3614793<font style="font-style:normal;font-weight:normal;background-color:rgb(245, 248, 240);font-size:14px">> </font> <font style="font-style:normal;font-weight:normal;background-color:rgb(245, 248, 240);font-size:14px">> </font><br>

</td></tr></tbody></table><p></p></span>> _______________________________________________<br>> fieldtrip mailing list<br>> <a href="mailto:fieldtrip@donders.ru.nl" target="_blank">fieldtrip@donders.ru.nl</a><br>
> <a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a>
</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" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Y.Harpaz<br>

<br>a link to the BIU MEG lab:<br><a href="http://faculty.biu.ac.il/~goldsa/index.html" target="_blank">http://faculty.biu.ac.il/~goldsa/index.html</a><div><div><br></div><div> " Why, Dan," ask the people in Artificial Intelligence, "do you waste your time conferring with those neuroscientists? They wave their hands about information  processing and worry about where it happens, and which neurotransmitters are  involved, and all those boring facts, but they haven't a clue about the computational requirements of higher cognitive functions."  "Why," ask the neuroscientists, "do you waste your time on the fantasies of Artificial Intelligence? They just invent whatever machinery they want, and say unpardonably ignorant things about the brain." The  cognitive psychologists, meanwhile, are accused of concocting models with neither biological plausibility nor proven computational powers; the anthropologists wouldn't know a model if they saw one, and the philosophers, as we all know, just take in each other's laundry, warning about confusions they themselves have created, in an arena bereft of both data and empirically testable theories. With so many idiots working on the problem, no wonder consciousness is still a mystery.<i> Philosopher Daniel Dennet, consciousness explained, pp. 225</i></div>

</div></div><br>
</div>