Note that this reference documentation is identical to the help that is displayed in Matlab when you type “help ft_spike_isihist”.
FT_SPIKE_ISIHIST computes the interspike interval distribution and statistics. The input SPIKE should be organised as the spike or the raw datatype, obtained from FT_SPIKE_MAKETRIALS or FT_PREPROCESSING (in that case, conversion is done within the function) Use as [isih] = ft_spike_isihist(cfg, spike) Configurations: cfg.outputunit = 'spikecount' (default) or 'proportion' (sum of all bins = 1). cfg.spikechannel = string or index of single spike channel to trigger on (default = 'all') See FT_CHANNELSELECTION for details cfg.trials = numeric selection of trials (default = 'all') cfg.bins = vector of isi bins. cfg.latency = [begin end] in seconds, 'max' (default), 'min', 'prestim'(t<=0), or 'poststim' (t>=0). If 'max', we use all available latencies. If 'min', we use only the time window contained by all trials. If 'prestim' or 'poststim', we use time to or from 0. cfg.gammafit = 'yes', or 'no' (default), if 'yes', we fit a gamma distribution to the raw isi times. ` Outputs: isih.avg = nUnits-by-nBins interspike interval histogram isih.time = bincenters corresponding to ISIH.ISIH. isih.gammashape = shape parameter of fitted gamma distribution. isih.gammascale = scale parameterof fitted gamma distribution. isih.coeffvar = coefficient of variation (std/mean of isi). isih.isi = 1-by-nUnits cell with interval to next spike per spike. isih.label
Share this page: