Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

frate_counts

Estimate population firing rate using fixed-width time bins.


Description

Estimate the population firing rate, averaging over all spikes.

Usage

frate_counts(spikes, beg, end, wid, nbins)

Arguments

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.

Details

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.

Value

The population firing rate (in Hz) for each bin.

Author(s)

Stephen Eglen


meaRtools

Micro-Electro Array (MEA) Analysis

v1.0.4
GPL (>= 3)
Authors
Quanli Wang [aut, ctb], Sahar Gelfman [aut, ctb, cre], Diana Hall [aut, ctb], Ryan Dhindsa [aut, ctb], Matt Halvorsen [aut, ctb], Ellese Cotterill [aut, ctb], Tom Edinburgh [aut, ctb], Stephen J. Eglen [aut, ctb, ths]
Initial release
2018-7-1

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.