simulate_spikes: Simulate spike sequences

Description Usage Arguments Value

View source: R/SimulatingSpikes.R

Description

Simulate spike sequences

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
simulate_spikes(
  end.time,
  int.fn,
  hyper,
  steps = 1000,
  T.min = NULL,
  ISI.type = "Gamma",
  sequences = 1,
  add.end = TRUE,
  do.log = T
)

Arguments

end.time

The length of time we want to simulate spikes

int.fn

The intensity function

hyper

The ISI parameter

steps

The number of steps to split the experiment into

T.min

Refractory period (Where pdf = 0)

ISI.type

The ISI distribution

sequences

The number of spike sequences to generate

add.end

Do we include the end time on the end of the spikes

do.log

Flag for whether we do the calculations on the log scale

Value

Matrix containing multiple spikes sequences


JPNotts/Package documentation built on Oct. 5, 2021, 2:04 p.m.