refractoryRatio-methods: Get refractory ratio of each cluster from its spike-time...

Description Usage Arguments Value

Description

This is the ratio between the mean number of spikes falling in the bins of the refractory period compared to the max number of spikes falling in one bin of the control period outside the refractory period. Note that the spike-time autocorrelations in the SpikeTrain object will be modified.

Usage

1
2
3
4
5
6
7
refractoryRatio(st, refractoryMs = 1.5, binSizeMs = 0.5,
  windowSizeMs = 25, minControlWindowMs = 5, maxControlWindowMs = 25)

## S4 method for signature 'SpikeTrain'
refractoryRatio(st, refractoryMs = 1.5,
  binSizeMs = 0.5, windowSizeMs = 25, minControlWindowMs = 5,
  maxControlWindowMs = 25)

Arguments

st

SpikeTrain object

refractoryMs

Length of the refractory period in ms

binSizeMs

Size of the bins in the spike-time autocorrelation

windowSizeMs

Size of the window used to construct the spike-time autocorrelation

minControlWindowMs

Minimum time of the control window

maxControlWindowMs

Maximal time of the control window

Value

a SpikeTrain object with the refractoryRation set.


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