Spike Toolbox |
![]() ![]() |
STProfileCountAddresses
Bin mapped spikes by a time window, and return the counts for each address
Syntax
[vBinnedCounts, vKey] = STProfileCountAddresses(stMappedTrain, tTimeWindow)
Description
stMappedTrain
is a spike train containing a mapping. tTimeWindow
specifies the duration of the time bins that spikes will be lumped into in
seconds.
STProfileCountAddresses will calculate the number of spikes falling into
each time bin, and return the results in vBinnedCounts
. The format of
tBinnedCounts
is [time_stamp count1 count2 ...]
. time_stamp
is a real
value representing the median time of each bin. count
is the number of
spikes falling into each bin for a particular neuron.
vKey
will give the addresses corresponding to each count column in
vBinnedCounts
.
See STProfileFrequencyAddresses for calculating frequency profiles from multiplexed mapped spike trains. See STProfileCount for binning spike train instances.
See Also
STProfileFrequencyAddresses,
STProfileCount
![]() |
STProfileFrequency
![]() |