data_baseanalyzespike_detectionspike_detection

spike_detection

data_base.analyze.spike_detection.spike_detection(ddf, scheduler=None, threshold=0)

Detect spikes in a dask Voltage trace dataframe.

Parameters:
  • ddf (DataFrame) – A dask dataframe containing the voltage traces

  • scheduler (str) – The scheduler to use for computation

  • threshold (float) – The threshold for spike detection

Returns:

A pandas dataframe containing the spikes

Return type:

DataFrame