si_find_bursts: Find bursts

Description Usage Arguments Value Author(s) References Examples

View source: R/si.R

Description

For one spike train, find the bursts using the Poisson surprise method.

Usage

1
si_find_bursts(spikes,s_min,burst_isi_max)

Arguments

spikes

A spike train of one channel, located in MEA data structure (example S$spikes[[1]]).

s_min

A minimum value for the surprise index

burst_isi_max

ISI threshold used by the the surprise index algorithm

Value

Returns a matrix of burst information for a specific channel. Matrix columns are:

beg

the number of spike that is first in the burst

end

number of the last spike in the burst

ibi

time interval from previous burst

durn

durarion of burst in seconds

mean_isis

average inter spike interval within the burst

si

surprise index

Author(s)

Stephen Eglen

References

Eytan and Marom (2006) J Neuroscience.

Examples

1
2
data("S")  
allb <- lapply(S$spikes, si_find_bursts, S$parameters$s_min )

meaRtools documentation built on May 1, 2019, 7:32 p.m.