CSIM: alphaspikefilter.h Source File

alphaspikefilter.h

Go to the documentation of this file.
00001 
00005 #ifndef _ALPHASPIKEFILTER_H_
00006 #define _ALPHASPIKEFILTER_H_
00007 
00008 #include "spikefilter.h"
00009 
00010 using namespace std;
00011 
00013 class AlphaSpikeFilter : public SpikeFilter {
00014 
00015   DO_REGISTERING
00016 
00017  public:
00021   AlphaSpikeFilter(double tau1 = 30e-3, double tau2 = 3e-3);
00022 
00023   ~AlphaSpikeFilter(void) {};
00024 
00026   int updateInternal();
00027 
00029   double m_tau1;
00031   double m_tau2;
00032 
00033  protected:
00037   double processSpike(int channel, double *target);
00038 
00039 
00041   double m_decay1;
00043   double m_decay2;
00044 
00045 
00046 };
00047 
00048 #endif

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