[FieldTrip] Wavelet- Time frequency analysis

Bahareh Elahian (belahian) belahian at memphis.edu
Fri Aug 12 16:51:32 CEST 2016


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



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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20160812/06161d40/attachment.html>


More information about the fieldtrip mailing list