_helper

data_base.analyze.spike_detection._helper(x, threshold=0)

Parse a Voltage trace dataframe and return a pandas.Series containing the spikes,

Reads out a Voltage trace dataframe, so it can be fed into simple_spike_detection(). The results are converted back to a pandas.Series, so it can be concatenated to a dask dataframe

Parameters:
x : DataFrame

A dataframe containing the voltage traces

threshold : float

The threshold for spike detection

Returns:

A series containing the spikes

Return type:

Series