#include <OUNoiseResponse.h>
Public Member Functions | |
OUNoiseResponse (const float g0=0.012e-6, const float sig=0.003e-6, const float tau=2.7e-3) | |
virtual | ~OUNoiseResponse () |
virtual int | adjust (double dt) |
This tells the object that it should adjust to a new simulation time step width. | |
virtual int | reset (double dt) |
Called at the beginning of a simulation at t=0. | |
virtual int | advance (AdvanceInfo const &) |
Calculate the next state and output/propagate the result to succesors/outgoing objects. | |
virtual int | spikeHit (spikeport_t port, SpikeEvent const &spike) |
Public Attributes | |
double | psr |
postsynaptic response |
Definition at line 11 of file OUNoiseResponse.h.
OUNoiseResponse::OUNoiseResponse | ( | const float | g0 = 0.012e-6 , |
|
const float | sig = 0.003e-6 , |
|||
const float | tau = 2.7e-3 | |||
) | [inline] |
Definition at line 16 of file OUNoiseResponse.h.
virtual OUNoiseResponse::~OUNoiseResponse | ( | ) | [inline, virtual] |
Definition at line 22 of file OUNoiseResponse.h.
This tells the object that it should adjust to a new simulation time step width.
Reimplemented from SimObject.
Definition at line 3 of file OUNoiseResponse.cpp.
References OUGenerator::adjust().
Called at the beginning of a simulation at t=0.
Reimplemented from SimObject.
Definition at line 9 of file OUNoiseResponse.cpp.
References OUGenerator::reset(), and RESETFLAG_ACTIVATE.
int OUNoiseResponse::advance | ( | AdvanceInfo const & | ) | [virtual] |
Calculate the next state and output/propagate the result to succesors/outgoing objects.
The return value of advance contains several bits of information which can be decoded with the bit masks ADVANCEFLAG_* like ADVANCEFLAG_HASSPIKED and ADVANCEFLAG_DEACTIVATE.
Reimplemented from SimObject.
Reimplemented in GenericConductanceBasedSpikingSynapse< OUNoiseResponse >.
Definition at line 15 of file OUNoiseResponse.cpp.
References OUGenerator::operator()(), and psr.
int OUNoiseResponse::spikeHit | ( | spikeport_t | port, | |
SpikeEvent const & | spike | |||
) | [virtual] |
Function to be called if the object is hit by a spike Called by spike exchange mechanims if a spike hits (arrives at) the object A return value of greater 0 indicates that the object is currently not active and the sim engine has to put this object into its list of active spike receivers. A return value of 0 indicates the the object is currently active (i.e. is already in the list of active receviers) and need not to be put into the list of active synapses.
Reimplemented from SimObject.
Definition at line 22 of file OUNoiseResponse.cpp.