Note that this reference documentation is identical to the help that is displayed in Matlab when you type “help ft_spiketriggeredspectrum_tfr”.
FT_SPIKETRIGGEREDSPECTRUM_TFR computes time-frequency representation of PPC, phase and rayleigh test Getting a TFR from spike phases is complicated, because spike numbers may strongly vary over time. However, this is solved with the PPC statistic (Vinck et al, 2010; Neuroimage), Vinck et al., 2011, Journal of Computational Neuroscience, being unbiased by the number of spikes. Use as [stat] = ft_spiketriggeredspectrum_ppc_tfr(cfg,stat) Inputs: STS should be a structure as obtained from from the FT_SPIKETRIGGEREDSPECTRUM or FT_SPIKE_TRIGGEREDSPECTRUM function Configurations: cfg.channel = Nx1 cell-array or numerical array with selection of channels (default = 'all'). See FT_CHANNELSELECTION for details cfg.spikesel = 'all' (default) or numerical or logical selection of spikes. cfg.foilim = [fbeg fend] in Hz. cfg.latency = [beg end] in sec, or 'maxperiod' (default), 'poststim' or 'prestim'. This determines the start and end of time-vector. cfg.fsample = sampling frequency of time-axis: e.g., cfg.fsample = 1000 will make time-points to be separated with 1/1000 = 0.001 sec. cfg.winlen = length of the window in which we compute ppc/phase in seconds. cfg.chanavg = 'yes' or 'no' (default): average over chans. cfg.spikechannel = string or cell of single channel to compute stats for See also FT_SPIKETRIGGEREDSPECTRUM, FT_SPIKE_PHASELOCKSTAT, FT_SPIKE_TRIGGEREDSPECTRUM
Share this page: