13 #ifndef _INCLUDE_CLIZDETECTOR
14 #define _INCLUDE_CLIZDETECTOR
60 std::vector<IndicesStruct> indicesOut;
61 std::vector<Save*> inputSaveVec;
62 std::vector<Save*> outputSaveVec;
65 unsigned int numNoiseTraces;
69 float *tempDataDetect;
77 uint64_t *externalTimestamps;
78 uint64_t lastChunkTimestamp;
79 uint64_t lastSpikeTimestamp;
80 uint64_t lastNoiseTimestamp;
81 arma::Mat<float> whiteningMat;
90 Detector(
DetectorHandle iHandle, std::vector<Save*> &iInputSaveVec, std::vector<Save*> &iOutputSaveVec, std::vector<IndicesStruct> &iIndicesOut);
95 Detector(
DetectorHandle iHandle, std::vector<Save*> &iInputSaveVec, std::vector<Save*> &iOutputSaveVec, std::vector<IndicesStruct> &iIndicesOut, uint64_t initialTimeStamp);
100 Detector(
DetectorHandle iHandle, std::vector<Save*> &iInputSaveVec, std::vector<Save*> &iOutputSaveVec, std::vector<IndicesStruct> &iIndicesOut, uint64_t initialTimeStamp, uint64_t *externallyDetectedTS,
unsigned int spikeCount);
107 void detection(
float *data,
float *dataDetect);
128 memMan.
free(tempDataDetect);
129 memMan.
free(tempData);
131 memMan.
free(timestamps);
void detection(float *data, float *dataDetect)
Definition: clizDetector.cpp:304
unsigned int valuesperspike
Definition: clizDectector.h:35
unsigned int maxNoiseTraces
Definition: clizDectector.h:36
unsigned int procChunkSize
Definition: clizDectector.h:28
Detector(DetectorHandle iHandle, std::vector< Save * > &iInputSaveVec, std::vector< Save * > &iOutputSaveVec, std::vector< IndicesStruct > &iIndicesOut)
Definition: clizDetector.cpp:22
void threadFunc()
Definition: clizDetector.cpp:152
void externalDetection(float *data, float *dataDetect)
Definition: clizDetector.cpp:483
Definition: clizDectector.h:56
unsigned int filterCutOffBack
Definition: clizDectector.h:27
Definition: clizDectector.h:25
unsigned int stdmax
Definition: clizDectector.h:31
Definition: clizFunctions.h:268
void free(memPtr *memAdr)
Definition: clizFunctions.h:331
void makeWhiteningMat()
Definition: clizDetector.cpp:263
unsigned int w_post
Definition: clizDectector.h:34
unsigned int detection
Definition: clizDectector.h:29
unsigned int stdmin
Definition: clizDectector.h:32
unsigned int ref
Definition: clizDectector.h:30
~Detector()
Definition: clizDectector.h:126
unsigned int w_pre
Definition: clizDectector.h:33
bool externalDetection
Definition: clizDectector.h:37