Note that this reference documentation is identical to the help that is displayed in Matlab when you type “help ft_freqanalysis_tfr”.
FT_FREQANALYSIS_TFR computes time-frequency representations of single-trial data using a convolution in the time-domain with Morlet's wavelets. Use as [freq] = ft_freqanalysis(cfg, data) The data should be organised in a structure as obtained from the FT_PREPROCESSING function. The configuration should be according to cfg.method = method used for frequency or time-frequency decomposition see FT_FREQANALYSIS for details cfg.foi = vector 1 x numfoi, frequencies of interest cfg.waveletwidth = 'width' of wavelets expressed in cycles (default = 7) cfg.channel = Nx1 cell-array with selection of channels (default = 'all'), see FT_CHANNELSELECTION for details cfg.downsample = ratio for downsampling, which occurs after convolution (default = 1) cfg.trials = 'all' or a selection given as a 1xN vector (default = 'all') cfg.keeptrials = 'yes' or 'no', return individual trials or average (default = 'no') See also FT_FREQANALYSIS
Share this page: