Note that this reference documentation is identical to the help that is displayed in Matlab when you type “help ft_spikeanalysis”.
FT_SPIKEANALYSIS performs analysis on spike data Use as [spike] = ft_spikeanalysis(cfg, data) The following configuration options are supported cfg.method = 'rate' or 'spikephase' (default = 'rate') In combination with cfg.method = 'rate' you can specify cfg.toi = the spike-rate is computed in a window surrounding the time-points in cfg.toi cfg.timwin = window width If cfg.toi and cfg.timwin are not specified, the average rate across each trial is computed. In combination with cfg.method = 'spikephase' you can specify cfg.channelcmb = cell-array, see FT_CHANNELCOMBINATION cfg.bpfilter = 'no' or 'yes', use a bandpass filter cfg.bpfreq = bandpass frequency range, specified as [low high] in Hz cfg.bpfiltord = bandpass filter order
Share this page: