spike_analysis
❭ core
❭ STAPlugin_ongoing
STAPlugin_ongoing¶
-
class spike_analysis.core.STAPlugin_ongoing(name=
'ongoing_activity'
, source='spike_times'
, ongoing_sample_length=90000
, mode='frequency'
)¶ SpikeTimeAnalysis (STA) plugin to compute the ongoing activity.
See also
spike_analysis.core.SpikeTimesAnalysis
reads insource
.- Parameters:¶
name (str, optional) – The name of the plugin. Defaults to ‘ongoing_activity’.
source (str, optional) – The
DataBase
key containing the spike times. Defaults to ‘spike_times’.ongoing_sample_length (int, optional) – The length of the ongoing sample in ms. Defaults to 90000.
mode (str, optional) – The mode of the analysis. Can be ‘frequency’ or ‘count’. Defaults to ‘frequency’.
- Attributes:¶
- source¶
The
DataBase
key containing the spike times. Defaults to ‘spike_times’.- Type:¶
str, optional
- Methods:¶
setup
(spike_times_analysis)Sets up the analysis: calculates the ongoing activity.