|
synapse-app-sdk
C++ SDK for Synapse Apps
|
Base class for spike detectors. More...
#include <base_spike_detector.hpp>

Public Member Functions | |
| virtual SpikeEvent * | detect (const float sample, const uint64_t frame_timestamp, const uint32_t channel_id)=0 |
| Process a new sample and detect spikes. | |
| virtual void | reset ()=0 |
| Reset the detector state. | |
Base class for spike detectors.
Spike detectors take broadband neural data and identify spike events
|
pure virtual |
Process a new sample and detect spikes.
| sample | The incoming broadband sample |
| frame_timestamp | Timestamp of the current frame |
| channel_id | Channel ID |
Implemented in synapse::SpikeDetectorWrapper< DetectorType >.
|
pure virtual |
Reset the detector state.
Implemented in synapse::SpikeDetectorWrapper< DetectorType >.