spike_analysiscoreSTAPlugin_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 in source.

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:

name

The name of the plugin. Defaults to ‘ongoing_activity’.

Type:

str

source

The DataBase key containing the spike times. Defaults to ‘spike_times’.

Type:

str, optional

ongoing_sample_length

The length of the ongoing sample in ms. Defaults to 90000.

Type:

int

mode

The mode of the analysis. Can be ‘frequency’ or ‘count’. Defaults to ‘frequency’.

Type:

str

Methods:

setup(spike_times_analysis)

Sets up the analysis: calculates the ongoing activity.