spike_analysiscoreSTAPlugin_quantification_in_period

STAPlugin_quantification_in_period

class spike_analysis.core.STAPlugin_quantification_in_period(name='frequency_in_period', source='st_df', period=None, t_start=None, t_end=None, mode='frequency')

SpikeTimeAnalysis (STA) plugin to quantify the activity in a period.

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

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

  • period (str, optional) – The period to analyze. Defaults to None (entire trace).

  • t_start (float, optional) – The start time of the period. Defaults to None.

  • t_end (float, optional) – The end time of the period. Defaults to None.

Attributes:

name

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

Type:

str

source

The DataBase key containing the spike times.

Type:

str

period

The period to analyze.

Type:

str

t_start

The start time of the period.

Type:

float

t_end

The end time of the period.

Type:

float

mode

The mode of the analysis. Can be ‘frequency’, ‘count_per_trial’, or ‘count_total’.

Type:

str

Methods:

setup(spike_times_analysis)

Sets up the analysis: quantifies the activity in a period.