spike_analysiscoreSpikeDetectionCreastTrough_extract_spike_times

SpikeDetectionCreastTrough._extract_spike_times

spike_analysis.core.SpikeDetectionCreastTrough._extract_spike_times()

Extracts spike times from voltage traces.

Extracts spike times based on creast and trough amplitude. Only returns spike times that fullfill both the creast and trough criterion and have an ISI above tdelta. Spikes that only fullfill the creast criterion are stored in _spike_times_creast, and similarly for the trough criterion.

Returns:

A list containing spike times.

Return type:

list