OUNoiseResponse.h

Go to the documentation of this file.
00001 #ifndef OUNOISERESPONSE_H_
00002 #define OUNOISERESPONSE_H_
00003 
00004 #include "OUGenerator.h"
00005 #include "SimObject.h"
00006 
00007 #include <iostream>
00008 using std::cerr;
00009 using std::endl;
00010 
00011 class OUNoiseResponse : public SimObject, public OUGenerator
00012 {
00013    SIMOBJECT ( OUNoiseResponse, AdvancePhase::SpikeDriven )
00014 
00015 public:
00016     OUNoiseResponse(const float g0 = 0.012e-6, const float sig = 0.003e-6, const float tau = 2.7e-3) :
00017         OUGenerator(g0, sig, tau)
00018     { /* NOOP */
00019     }
00020     ;
00021 
00022     virtual ~OUNoiseResponse()
00023     { /* NOOP */
00024     }
00025     ;
00026 
00027     // Update internal variables
00028     virtual int adjust(double dt);
00029 
00030     // Reset to initial condition.
00031     virtual int reset(double dt);
00032 
00033     virtual int advance(AdvanceInfo const &);
00034 
00035     virtual int spikeHit(spikeport_t port, SpikeEvent const& spike);
00036 
00038     double psr;
00039 
00040 };
00041 
00042 #endif /*OUNOISERESPONSE_H_*/

Generated on Wed Jul 9 16:34:39 2008 for PCSIM by  doxygen 1.5.5