spike_analysiscoreSTAPlugin_response_latency_in_period

STAPlugin_response_latency_in_period

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

SpikeTimeAnalysis (STA) plugin to compute the response latency in a period.

See also

spike_analysis.core.SpikeTimesAnalysis reads in source.

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

_by_trial

The median response latency by trial.

Type:

numpy.ndarray

Methods:

setup(spike_times_analysis)

Sets up the analysis: computes the response latency in a period.