[FieldTrip] Wavelet- Time frequency analysis

Schoffelen, J.M. (Jan Mathijs) jan.schoffelen at donders.ru.nl
Fri Aug 12 17:08:20 CEST 2016


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/327c5670/attachment-0002.html>


More information about the fieldtrip mailing list