All Classes Namespaces Files Functions Variables Typedefs Macros
clizExtractor.h
Go to the documentation of this file.
1 // clizExtractor.h - ClusterLizard header file - Module: Extractor
2 
3 // Copyright (C) 2013, 2014 Simeon Knieling, M.Sc.
4 //
5 // This Source Code Form is subject to the terms of the Mozilla Public
6 // License, v. 2.0. If a copy of the MPL was not distributed with this
7 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 //
9 
10 //Extractor Class
11 
12 #pragma once
13 #ifndef _INCLUDE_CLIZEXTRACTOR
14 #define _INCLUDE_CLIZEXTRACTOR
15 
16 #include "clizSave.h"
17 
20 namespace cliz
21 {
22 
26  {
27  unsigned int waveletScales;
28  };
29 
43  class Extractor
44  {
45  private:
46  ExtractorHandle handle; //Parameter handle
47  std::vector<IndicesStruct> indicesOut; //Which Modules that receive output from this module need which output?
48  std::vector<Save*> inputSaveVec; //Input Saves
49  std::vector<Save*> outputSaveVec; //Output Saves
50 
51  unsigned int valuesperspike;
52  unsigned int allFeatures;
53  MemoryManager memMan;
54  public:
58  Extractor(ExtractorHandle iHandle, std::vector<Save*> &iInputSaveVec, std::vector<Save*> &iOutputSaveVec, std::vector<IndicesStruct> iIndicesOut);
59 
66  void extractFeatures(float *spikes, unsigned int nspk, float *features);
67 
71  void threadFunc();
72 
74  {
75 
76  }
77  };
78 }
79 
80 #endif
Extractor(ExtractorHandle iHandle, std::vector< Save * > &iInputSaveVec, std::vector< Save * > &iOutputSaveVec, std::vector< IndicesStruct > iIndicesOut)
Definition: clizExtractor.cpp:22
Definition: cliz.h:55
~Extractor()
Definition: clizExtractor.h:73
Definition: clizExtractor.h:43
Definition: clizExtractor.h:25
unsigned int waveletScales
Definition: clizExtractor.h:27
void threadFunc()
Definition: clizExtractor.cpp:35
Definition: clizFunctions.h:268
void extractFeatures(float *spikes, unsigned int nspk, float *features)
Definition: clizExtractor.cpp:136