Spike Toolbox

STCreateGamma
Define a spike train using a gamma function for the ISI distribution

Syntax
[stTrain] = STCreateGamma(fMeanISI, fVarISI) [cstTrain] = STCreateGamma(vfMeanISI, vfVarISI)

Description
STCreateGamma will create a spike train definition, in which the inter-spike intervals are drawn from a gamma distribution. fMeanFreq and fVarFreq define the mean firing rate and the variance of the rate respectively. stTrain will comprise of a field definition containing the spike train definition.

Either (or both) of vfMeanISI or vfVarISI may optionally be supplied as arrays. In this case, cstTrain will be a cell array of spike trains, the parameters for each definition taken element-wise from the array arguments. If one argument is a scalar, that value will be duplicated for all spike train definitions.

See Also
Spike train definitions, Generating spike trains, STCreate


$Id: STCreateGamma.html 1783 2005-08-31 21:05:51Z dylan $