spikeTimeAutocorrelation-methods: Calculate the spike-time autocorrelation

Description Usage Arguments Value

Description

Each spike is treated in turn as a reference spike. The number of spikes or probability to observe a spike around the reference spike is calculated. You can set the bins size in ms and and the time window for which you want to do the analysis on. The results are saved in the slot auto and autoTimePoints.

Usage

1
2
3
4
5
spikeTimeAutocorrelation(st, binSizeMs, windowSizeMs, probability)

## S4 method for signature 'SpikeTrain'
spikeTimeAutocorrelation(st, binSizeMs = 1,
  windowSizeMs = 200, probability = FALSE)

Arguments

st

SpikeTrain object

binSizeMs

Default is 1

windowSizeMs

Default is 200. This means that autocorrelation ranges from -windowSizeMs to windowSizeMs

probability

If TRUE, will calculate the probability of a spike in a given bin instead of the spike count

Value

SpikeTrain object with autocorrelation in slot auto


kevin-allen/relectro documentation built on May 20, 2019, 9:06 a.m.