tiling_correlogramcpp_index: Compute STTPs for just two spike trains, A and B

Description Usage Arguments Details Value Author(s)

View source: R/RcppExports.R

Description

Compute STTP for just one pair of trains

Usage

1
2
tiling_correlogramcpp_index(spikes, n, nspikes, first_spike, start, end, dt,
  tau_sep, tau_max, a, b)

Arguments

spikes

Concatenated list of spike trains

n

number of spike trains

nspikes

Vector containing the number of spikes in each train

first_spike

Index to the first spike in each train.

start

Start time of recording in seconds

end

End time of recording in seconds

dt

Coincidence window for STTC

tau_sep

Step size for taus.

tau_max

Maximum absolute tau value.

a

Number of first spike train

b

Number of second spike train

Details

If you have the spikes from an array in a flattened form, you can compute the STTP for just two of the spike trains, rather than computing all pairwise STTPs.

Value

STTP for spike trains a and b

Author(s)

Tom Edinburgh


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