[FieldTrip] Run Fourier on Correlation data input

Schoffelen, J.M. (Jan Mathijs) jan.schoffelen at donders.ru.nl
Wed Mar 27 15:27:23 CET 2019


Hi Romina,

Could you explain a bit more what you actually want to do? The error seems well placed, because it tries to prevent you from doing something suboptimal.
Do you really want to compute a spectral decomposition on time courses of correlation values? What would you expect from that to begin with?

In any case, if you really want this, you need to ‘creatively’ create the input data into ft_freqanalysis such that it can be fooled into doing the frequency transformation. The input data should be either a so-called ‘raw’, ‘comp’, or ‘timelock’ data structure. See http://www.fieldtriptoolbox.org/faq/how_are_the_various_data_structures_defined/ for more information about the specification of the different types of data structures.

Best wishes,

Jan-Mathijs

J.M.Schoffelen, MD PhD
Associate PI, VIDI-fellow - PI, language in interaction
Telephone: +31-24-3614793
Physical location: room 00.028
Donders Centre for Cognitive Neuroimaging, Nijmegen, The Netherlands


On 26 Mar 2019, at 15:33, Romina Esposito <romina.esposito at unitn.it<mailto:romina.esposito at unitn.it>> wrote:

Dear all,

I'm a new fieldtrip user, so I apologize if my question may be silly.
I've run a spectral analysis on eeg data with the function ft_freqanalysis. But now I'm interested in running the spectral composition inserting as input the correlation data, which are obtained from the function ft_timelockstatistics.

The error output says : unsupported data structure.
How should I manage the input to be readable?

Thanks in advance,
Romina
_______________________________________________
fieldtrip mailing list
https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
https://doi.org/10.1371/journal.pcbi.1002202




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20190327/4603e2df/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