[FieldTrip] Calculating band power or power spectral density with ft_freqanalysis
Schoffelen, J.M. (Jan Mathijs)
janmathijs.schoffelen at donders.ru.nl
Tue Sep 6 15:03:07 CEST 2022
Hi Zhiwei Fan,
Averaging across a spectral band these days is done with the ft_selectdata function:
cfg = ;
cfg.frequency = [low high]
cfg.avgoverfreq = ‘yes’;
dataout = ft_freqanalysis(cfg, datain);
On 2 Sep 2022, at 05:21, Francis (Zhiwei Fan) via fieldtrip <fieldtrip at science.ru.nl<mailto:fieldtrip at science.ru.nl>> wrote:
I am attempting to calculate band power or power spectral density (then I can use bandpower() in Matlab to calculate band power) with
ft_freqanalysis but it seems does provide this function. I have found a similar question in
However, no one has yet answered this question.
I want to know how to calculate band power or power spectral density in Fieldtrip.
Thanks in advance for your help,
Zhiwei Fan, Ph.D.
Post-doc | Abe lab
fieldtrip mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fieldtrip