[FieldTrip] Help needed for reading a time series data

Stan van Pelt stan.vanpelt at fcdonders.ru.nl
Tue Aug 7 09:43:38 CEST 2012


Dear Manik, 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. 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: 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 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/). Good luck! Stan -- Stan van Pelt, PhD Ernst Strüngmann Institute (ESI) for Neuroscience in Cooperation with Max Planck Society Deutschordenstr. 46 60528 Frankfurt, Germany Website: www.esi-frankfurt.de E-mail: stan.vanpelt at esi-frankfurt.de Tel: +49 (0)69 96769 519 Fax: +49 (0)69 96769 555 ----- Oorspronkelijk bericht -----
> Van: "Manik Gupta" <kashyapmanik at gmail.com>
> Aan: fieldtrip at science.ru.nl
> Verzonden: Dinsdag 7 augustus 2012 08:38:07
> Onderwerp: [FieldTrip] Help needed for reading a time series data
> Dear All
> I am new to fieldtrip and want to use to preprocess some air pollution
> data using fieldtrip.
> The data is sampled at a frequency of 1 sample/second and currently is
> in a text file format.
> Can someone please help me how to process the text file into fieldtrip
> raw data structure.
> Thanks a lot,
> Manik.
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
-- Stan van Pelt Donders Institute for Brain, Cognition and Behaviour, Radboud University Nijmegen Kapittelweg 29, 6525 EN Nijmegen, Netherlands E-mail: stan.vanpelt at donders.ru.nl Website: www.ru.nl/donders/ Phone: (+31) (0)24 36 10981 Fax: (+31) (0)24 36 10989
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20120807/dde2eaef/attachment-0002.html>


More information about the fieldtrip mailing list