spike_analysiscoreSTAPlugin_spike_times_dataframe

STAPlugin_spike_times_dataframe

class spike_analysis.core.STAPlugin_spike_times_dataframe(name='spike_times_dataframe', source='spike_times', offset=0, mode='spike_times')

SpikeTimeAnalysis (STA) plugin to create a spike times dataframe.

See also

spike_analysis.core.SpikeTimesAnalysis reads in source.

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

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

  • offset (int, optional) – The offset of the spike times. Defaults to 0.

  • mode (str, optional) – The mode of the analysis. Can be ‘spike_times’ or ‘stim_times’. Defaults to ‘spike_times’.

Attributes:

name

The name of the plugin.

Type:

str

source

The DataBase key containing the spike times.

Type:

str

offset

The offset of the spike times.

Type:

int

mode

The mode of the analysis. Can be ‘spike_times’ or ‘stim_times’.

Type:

str

Methods:

setup(spike_times_analysis)

Sets up the analysis: creates a spike times dataframe.