Spikes: Simulate a single spike sequence

Description Usage Arguments Value

View source: R/SimulatingSpikes.R

Description

Simulate a single spike sequence

Usage

1
2
3
4
5
6
7
8
9
Spikes(
  end.time,
  int.fn,
  hyper,
  steps = 1000,
  T.min = NULL,
  ISI.type = "Gamma",
  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

do.log

Flag for whether we do the calculations on the log scale

Value

List where $spikes contains the spike sequence and $err gives the max error


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