CSIM: useranalogfilter.h Source File

useranalogfilter.h

Go to the documentation of this file.
00001 
00005 #ifndef _USERANALOGFILTER_H_
00006 #define _USERANALOGFILTER_H_
00007 
00008 #include "analogfilter.h"
00009 #include "csimclass.h"
00010 #include <math.h>
00011 
00012 using namespace std;
00013 
00015 class UserAnalogFilter : public AnalogFilter {
00016 
00017   DO_REGISTERING
00018 
00019  public:
00024   UserAnalogFilter(unsigned int kernel_length=10, double *weights=0);
00025 
00026   ~UserAnalogFilter(void);
00027 
00032   void createKernel(unsigned int n);
00033 
00035   int updateInternal();
00036 
00038   double *m_weights;
00039 
00040  private:
00042   double m_sum_kernel;
00043 };
00044 
00045 #endif

 
(C) 2003, Thomas Natschläger last modified 07/10/2006