[FieldTrip] Load already preprocessed data to fieldtrip functions

daniel.strahnen at uni-ulm.de daniel.strahnen at uni-ulm.de
Tue Jun 4 17:00:50 CEST 2019


Thanks for the advice! Would it be possible for you to send me just the structure the you mentioned since I don’t have any data here that is compatible to the Fieldtrip pipeline?

 

Von: fieldtrip <fieldtrip-bounces at science.ru.nl> Im Auftrag von Stephen Politzer-Ahles
Gesendet: Montag, 3. Juni 2019 17:40
An: fieldtrip at science.ru.nl
Betreff: Re: [FieldTrip] Load already preprocessed data to fieldtrip functions

 

An easy way to hack it is to preprocess some other data using the Fieldtrip pipeline, grab the structure that's created, and then manually replace the appropriate fields (like .trial, .average, .time, etc.) with the fields from your own data. You may also have to replace some other fields, like .dimord, if they don't match yours; but this is pretty straightforward to do once you get familiar with the Fieldtrip data structure. This is what I've done in the past when I have data I processed in some other software or toolbox but then I want to use Fieldtrip's functions for cluster-based permutation tests or whatnot. There may be more proper or more efficient ways to do it, but this hack has worked fine for me so far.


 

---

Stephen Politzer-Ahles
The Hong Kong Polytechnic University
Department of Chinese and Bilingual Studies
http://www.mypolyuweb.hk/~sjpolit/

 

 

 

Message: 1
Date: Sun, 2 Jun 2019 16:28:08 +0200
From: <daniel.strahnen at uni-ulm.de <mailto:daniel.strahnen at uni-ulm.de> >
To: <fieldtrip at science.ru.nl <mailto:fieldtrip at science.ru.nl> >
Subject: [FieldTrip] Load already preprocessed data to fieldtrip
        functions
Message-ID: <000401d5194f$66ece690$34c6b3b0$@uni-ulm.de <http://uni-ulm.de> >
Content-Type: text/plain; charset="utf-8"

Is it possible to use the fieldtrip functions for already preprocessed data
that is organized in a .mat file. 

The data is stored in a matrix organized as follows: Channels x samples

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20190602/37bb8ec8/attachment.html>

------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20190604/501601d8/attachment-0002.html>
-------------- next part --------------
_______________________________________________
fieldtrip mailing list
https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
https://doi.org/10.1371/journal.pcbi.1002202


More information about the fieldtrip mailing list