[FieldTrip] Wavelet- Time frequency analysis

Bahareh Elahian (belahian) belahian at memphis.edu
Fri Aug 12 17:15:54 CEST 2016


Thanks for the answer,

They are the same actually my cfg.toi is my data.time.

I specified them the same as each other . was it right?

________________________________
From: fieldtrip-bounces at science.ru.nl <fieldtrip-bounces at science.ru.nl> on behalf of Schoffelen, J.M. (Jan Mathijs) <jan.schoffelen at donders.ru.nl>
Sent: Friday, August 12, 2016 10:08:20 AM
To: FieldTrip discussion list
Subject: Re: [FieldTrip] Wavelet- Time frequency analysis

Note that the units of the time points specified in cfg.toi should coincide with the units in the time axis of the data, i.e. data.time.

JM


On 12 Aug 2016, at 16:51, Bahareh Elahian (belahian) <belahian at memphis.edu<mailto:belahian at memphis.edu>> wrote:


Hi All,

I am trying to apply wavelet on my signal to see HFOs.
According to http://www.fieldtriptoolbox.org/tutorial/timefrequencyanalysis
I wrote the following lines but I will get an error that: "the padding that you specified is shorter than the data".
As far as I understood 'maxperlen' is the default.
Any other idea for padding or solving this problem?
[https://www.bing.com/th?id=OVP.V249f2fff057aa7a9c87ce8b67ec6c972&pid=Api]<http://www.fieldtriptoolbox.org/tutorial/timefrequencyanalysis>

tutorial:timefrequencyanalysis - FieldTrip<http://www.fieldtriptoolbox.org/tutorial/timefrequencyanalysis>
www.fieldtriptoolbox.org<http://www.fieldtriptoolbox.org/>



cfg= [];
cfg.pad = 'maxperlen';
cfg.method = 'wavelet';
cfg.output = 'pow';
cfg.channel = 'chan 4';
cfg.toi = 1:size(eeg.eeg_data,2);
cfg.foilim  = [80 500];
[freq] = ft_freqanalysis(cfg, data1);



data1 is  my data which I get by applying ft_preprocessing.
_________________________________________________
Bahar
_______________________________________________
fieldtrip mailing list
fieldtrip at donders.ru.nl<mailto:fieldtrip at donders.ru.nl>
https://mailman.science.ru.nl/mailman/listinfo/fieldtrip

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20160812/43560ccf/attachment.html>


More information about the fieldtrip mailing list