spike_analysis
❭ core
❭ STAPlugin_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 insource
.- 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:¶
- 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.