Note that this reference documentation is identical to the help that is displayed in Matlab when you type “help ft_spike_phaselockstat”.
FT_SPIKE_PHASELOCKSTAT computes phase-locking statistics for spike-LFP phases. These contain the PPC statistics published in Vinck et al. 2010 (Neuroimage) and Vinck et al. 2011 (Journal of Computational Neuroscience). Use as: [STAT = FT_SPIKE_PHASELOCKSTAT(CFG,STS) Inputs: STS should be a structure as obtained from from the FT_SPIKE_TRIGGEREDSPECTRUM or FT_SPIKETRIGGEREDSPECTRUM function. Configurations (CFG) related to calculation of phaselockingvalue cfg.channel = Nx1 cell-array or numerical array with selection of channels (default = 'all'),See CHANNELSELECTION for details cfg.spikesel = 'all' (default) or numerical or logical selection of spikes. cfg.foi = 'all' or numerical vector that specifies a subset of frequencies in Hz (and not in indices!). cfg.latency = [beg end] in sec, or 'maxperiod', 'poststim' or 'prestim'. This determines the start and end of time-vector. cfg.spikechannel = label of ONE unit, according to FT_CHANNELSELECTION cfg.chanavg = 'yes' or 'no' (default). cfg.powweighted = 'yes' or 'no' (default). If 'yes', we average across channels by weighting by the LFP power. cfg.trials = vector of indices (e.g., 1:2:10) logical selection of trials (e.g., [1010101010]) 'all' (default), selects all trials
Share this page: