|
synapse-app-sdk
C++ SDK for Synapse Apps
|
Implementation of threshold-based spike detection. More...
#include <threshold_detector.hpp>
Classes | |
| struct | Config |
Public Member Functions | |
| ThresholdDetector (const Config &config) | |
| void | setup (const Config &config) |
| SpikeEvent * | detect (const float sample, const uint64_t frame_timestamp, const uint32_t channel_id) |
| void | reset () |
Implementation of threshold-based spike detection.
Detects spikes when the signal crosses a threshold value (negative polarity). Captures a configurable number of samples around the threshold crossing, with the threshold crossing positioned in the middle of the waveform.