<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'>Dear Manik,<br><br>Great that you're trying to apply FieldTrip to non-neuroscientific data. As you probably know, FT is developed for the analysis of electrophysiological data, but that does not mean it cannot be useful to you. <br>W.r.t. your data format, i think it is easiest if you read in the data into Matlab using a function like readtxt.m, and than put these data into a FT-type structure, and run your actual analyses. At the minimum, this structure should look like this:<br><pre class="code">data =
label: {187x1 cell} % channel labels (e.g. 'air pollution site 1','air pollution site 2', etc)
trial: {1x266 cell} % data (Nchans*Nsamples) for each trial (if you have only one long data set, it means you have only 1 trial; if you have multiple 'recording sessions' from the same site, you would have more)
time: {1x266 cell} % time axis for each trial
fsample: 300 % sampling frequency
<br></pre>It would be great if you would be willing to share your results when they are published and add a FieldTrip reference (http://www.hindawi.com/journals/cin/2011/156869/).<br><br>Good luck!<br><br>Stan<br><br><span class="Apple-style-span" style="font-family:Calibri,sans-serif; font-size:15px">-- </span>
<div style="font-family:Times New Roman; color:rgb(0,0,0); font-size:16px">
<div>
<div style="direction:ltr; font-family:Tahoma; color:rgb(0,0,0); font-size:10pt">
<div><span class="Apple-style-span" style="font-family:Calibri,sans-serif; font-size:15px"></span><span class="Apple-style-span" style="font-family:Calibri,sans-serif; font-size:15px">Stan van Pelt, PhD</span></div>
<div><span class="Apple-style-span" style="font-family:Calibri,sans-serif; font-size:15px"><br>
</span></div>
<div><span class="Apple-style-span" style="font-family:Calibri,sans-serif; font-size:15px"></span><span class="Apple-style-span" style="font-family:Calibri,sans-serif; font-size:15px">Ernst Strüngmann Institute (ESI)</span></div>
<div><span class="Apple-style-span" style="font-family:Calibri,sans-serif; font-size:15px"></span><span class="Apple-style-span" style="font-family:Calibri,sans-serif; font-size:15px">for Neuroscience in Cooperation with Max Planck Society </span></div>
<div><span class="Apple-style-span" style="font-family:Calibri,sans-serif; font-size:15px"></span><span class="Apple-style-span" style="font-family:Calibri,sans-serif; font-size:15px">Deutschordenstr. 46</span></div>
<div><span class="Apple-style-span" style="font-family:Calibri,sans-serif; font-size:15px"></span><span class="Apple-style-span" style="font-family:Calibri,sans-serif; font-size:15px">60528 Frankfurt, Germany</span></div>
<div><span class="Apple-style-span" style="font-family:Calibri,sans-serif; font-size:15px"></span><span class="Apple-style-span" style="font-family:Calibri,sans-serif; font-size:15px">Website: </span><span class="Apple-style-span" style="font-family:Calibri,sans-serif; font-size:15px"><a href="https://email.gwdg.de/owa/redir.aspx?C=Xb3CNcVexEiXfVYBlL_bR8fv614HSM8I9N0El8TTAsOoCM6TIHv2z2Qnrd96UOsB15j11lIqjig.&URL=http%3a%2f%2fwww.esi-frankfurt.de" target="_blank">www.esi-frankfurt.de</a></span></div>
<div><span class="Apple-style-span" style="font-family:Calibri,sans-serif; font-size:15px">E-mail: <a class="moz-txt-link-abbreviated" href="https://email.gwdg.de/owa/redir.aspx?C=Xb3CNcVexEiXfVYBlL_bR8fv614HSM8I9N0El8TTAsOoCM6TIHv2z2Qnrd96UOsB15j11lIqjig.&URL=mailto%3astan.vanpelt%40esi-frankfurt.de" title="Ctrl+Klik om de koppeling te openen" style="color:blue; text-decoration:underline" target="_blank">stan.vanpelt@esi-frankfurt.de</a></span></div>
<div><span class="Apple-style-span" style="font-family:Calibri,sans-serif; font-size:15px"></span><span class="Apple-style-span" style="font-family:Calibri,sans-serif; font-size:15px">Tel:
+49 (0)69 96769 519</span></div>
<div><span class="Apple-style-span" style="font-family:Calibri,sans-serif; font-size:15px"></span><span class="Apple-style-span" style="font-family:Calibri,sans-serif; font-size:15px">Fax: +49 (0)69 96769 555</span></div></div></div></div><br><br><hr id="zwchr"><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;"><b>Van: </b>"Manik Gupta" <kashyapmanik@gmail.com><br><b>Aan: </b>fieldtrip@science.ru.nl<br><b>Verzonden: </b>Dinsdag 7 augustus 2012 08:38:07<br><b>Onderwerp: </b>[FieldTrip] Help needed for reading a time series data<br><br><div>Dear All</div><div> </div><div>I am new to fieldtrip and want to use to preprocess some air pollution data using fieldtrip.</div><div>The data is sampled at a frequency of 1 sample/second and currently is in a text file format.</div>
<div>Can someone please help me how to process the text file into fieldtrip raw data structure.</div><div> </div><div>Thanks a lot,</div><div>Manik.</div>
<br>_______________________________________________<br>fieldtrip mailing list<br>fieldtrip@donders.ru.nl<br>http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</blockquote><br><br><br>-- <br><div><span name="x"></span>Stan van Pelt<br><br>Donders Institute for Brain, Cognition and Behaviour, Radboud University Nijmegen<br>Kapittelweg 29, 6525 EN Nijmegen, Netherlands<br>E-mail: stan.vanpelt@donders.ru.nl<br>Website: www.ru.nl/donders/<br>Phone: (+31) (0)24 36 10981<br>Fax: (+31) (0)24 36 10989<span name="x"></span><br></div></div></body></html>