Spike Toolbox |
![]() ![]() |
STProfileFrequency
Calculate a binned spiking frequency profile from a spike train
Syntax
[vInstFrequency] = STProfileFrequency(stTrain, tTimeWindow)
[vInstFrequency] = STProfileFrequency(stTrain, tTimeWindow, strLevel)
Description
stTrain
is a spike train with either an instance or a mapping.
tTimeWindow
specifies the duration in seconds of the time bins that spikes
will be lumped into. strLevel
optionally specifies whether a spike train
instance or mapping will be used, and must be one of {instance, mapping}
.
STProfileFrequency will calculate the spike train frequency for each bin.
These frequencies will be returned in vInstFrequency
. The format will be
[time_stamp frequency]
. time_stamp
is a real value representing the median
time of each bin. frequency
is the average frequency of the spike train
during each time bin, in Hz.
See STProfileCount for basic spike binning. See STProfileFrequencyAddresses for profiling spikes from multiplexed mapped spike trains.
Note that STProfileFrequency will calculate frequencies using spikes irrespective of their source or target address.
See Also
STProfileCount,
STProfileFrequencyAddresses
![]() |
STProfileFrequencyAddresses
![]() |