Spike Toolbox |
![]() ![]() |
STISIHist
Construct an ISI histogram for a spike train
Syntax
[vISIHist, tTimeBins] = STISIHist(stTrain <, bUseLog, nNumBins>)
[vISIHist, tTimeBins] = STISIHist(stTrain <, bUseLog, tTimeBins>)
[mISIHist, tTimeBins] = STISIHist(cellstTrain, ...)
Description
STISIHist will calculate an ISI histogram for the spike
train stTrain
. vISIHist
will be the count in each histogram bin, for
the bin centres specified in tTimeBins
. vISIHist
and tTimeBins
will
be vectors of the same length.
The optional argument bUseLog
can be used to specify a log time scale for
calcualting the histogram. The default is to use a linear time scale. The
optional argument nNumBins
can be used to specify the number of histogram
bins to use. The default is 50 bins.
If a vector is supplied for tTimeBins
, the specified time bins will be
used instead. tTimeBins
should be a vector of bin centres.
If a cell array is supplied for cellstTrain
, then histogramming will be
performed for each of the supplied trains. In this case, the identical time
bins will be used for each histogram. mISIHist
will be a matrix, with the
histogram for each train along the rows of the matrix.
If no output arguments are supplied, STISIHist will construct a plot of the ISI histogram.
![]() |
STIsValidAddress
![]() |