Description Usage Arguments Details Value Author(s)
Estimate the population firing rate, averaging over all spikes.
1 | frate_counts(spikes, beg, end, wid, nbins)
|
spikes |
List of simultaneously recorded spike trains |
beg |
Start of the recording, in seconds. |
end |
The start time of the last bin, in seconds. |
wid |
The duration of each bin |
nbins |
The number of bins to generate. |
We compute the array-wide average activity for a list of spike trains. The duration of the recording is given in seconds by BEG and END. Time is divided up into NBINS bins, each of duration WID. Each spike is then placed in the appropriate bin and then we return the average count in each bin.
The population firing rate (in Hz) for each bin.
Stephen Eglen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.