spike_analysiscoreSTAPlugin_ISIn

STAPlugin_ISIn

class spike_analysis.core.STAPlugin_ISIn(name='ISIn', source='spike_times', max_n=5)

SpikeTimeAnalysis (STA) plugin to compute the inter spike interval (ISI) to the next, second next, nth spike.

See also

spike_analysis.core.SpikeTimesAnalysis reads in source.

Parameters:
  • name (str, optional) – The name of the plugin. Defaults to ‘ISIn’.

  • source (str, optional) – The DataBase key containing the spike times. Defaults to ‘spike_times’.

  • max_n (int, optional) – The maximum order of ISIs computed. Defaults to 5.

Attributes:

name

The name of the plugin.

Type:

str

source

The DataBase key containing the spike times.

Type:

str

max_n

The maximum order of ISIs computed.

Type:

int

Methods:

setup(spike_times_analysis)

Sets up the analysis: Computes the inter spike interval (ISI) to the next, second next, nth spike.

event_analysis_ISIn(spike_times, n)

static Computes for each spike the inter spike interval (ISI) to the next, second next … nth next spike.