synapse-app-sdk
C++ SDK for Synapse Apps
Loading...
Searching...
No Matches
synapse::ThresholdDetector Class Reference

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)
SpikeEventdetect (const float sample, const uint64_t frame_timestamp, const uint32_t channel_id)
void reset ()

Detailed Description

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.


The documentation for this class was generated from the following file: