ExponentialDecaySpikeResponse Class Reference

#include <ExponentialDecaySpikeResponse.h>

Inheritance diagram for ExponentialDecaySpikeResponse:

Inheritance graph
[legend]
Collaboration diagram for ExponentialDecaySpikeResponse:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ExponentialDecaySpikeResponse (const float tau=3e-3)
virtual ~ExponentialDecaySpikeResponse ()
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)
virtual int psrLength (double dt) const
 The lengh of the postsynaptic response (in time steps).

Public Attributes

float tau
 The decay time constant $\tau$.


Detailed Description

Definition at line 7 of file ExponentialDecaySpikeResponse.h.


Constructor & Destructor Documentation

ExponentialDecaySpikeResponse::ExponentialDecaySpikeResponse ( const float  tau = 3e-3  )  [inline]

virtual ExponentialDecaySpikeResponse::~ExponentialDecaySpikeResponse (  )  [inline, virtual]

Definition at line 18 of file ExponentialDecaySpikeResponse.h.


Member Function Documentation

int ExponentialDecaySpikeResponse::adjust ( double  dt  )  [inline, virtual]

This tells the object that it should adjust to a new simulation time step width.

Reimplemented from SimObject.

Reimplemented in GenericGABASynapse< ExponentialDecaySpikeResponse >, and GenericGlutamateSynapse< ExponentialDecaySpikeResponse >.

Definition at line 48 of file ExponentialDecaySpikeResponse.h.

References tau.

Referenced by reset().

int ExponentialDecaySpikeResponse::reset ( double  dt  )  [inline, virtual]

Called at the beginning of a simulation at t=0.

Reimplemented from FiniteSpikeResponse.

Reimplemented in DynamicGABAExpSynapse, StaticGABAExpSynapse, DynamicGlutamateExpSynapse, StaticGlutamateExpSynapse, HomDynGlutamateExpSynapse, GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > > > >, GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > > > >, GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericDynamicSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > > > >, GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > > > >, GenericDynamicSpikingSynapse< GenericGABASynapse< ExponentialDecaySpikeResponse > >, GenericDynamicSpikingSynapse< GenericGlutamateSynapse< ExponentialDecaySpikeResponse > >, GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > >, GenericDynamicSpikingSynapse< GenericNMDASynapse< ExponentialDecaySpikeResponse > >, GenericDynamicSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > >, GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericEachPairStdpSynapse< GenericDynamicSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericEachPairStdpSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericFacetsHWDepressionSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > >, GenericFacetsHWFacilitationSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > >, GenericGABASynapse< ExponentialDecaySpikeResponse >, GenericGlutamateSynapse< ExponentialDecaySpikeResponse >, GenericHomeostaticSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericHomeostaticSynapse< GenericDynamicSpikingSynapse< GenericGlutamateSynapse< ExponentialDecaySpikeResponse > > >, GenericHomeostaticSynapse< GenericStaticSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericHomeostaticSynapse< GenericDynamicSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericHomeostaticSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericOnePairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, and GenericOnePairStdpSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >.

Definition at line 58 of file ExponentialDecaySpikeResponse.h.

References adjust(), and FiniteSpikeResponse::reset().

Referenced by HomDynGlutamateExpSynapse::reset(), StaticGlutamateExpSynapse::reset(), DynamicGlutamateExpSynapse::reset(), StaticGABAExpSynapse::reset(), DynamicGABAExpSynapse::reset(), StaticNonLinGABAExpSynapse::reset(), and DynamicNonLinGABAExpSynapse::reset().

Here is the call graph for this function:

int ExponentialDecaySpikeResponse::advance ( AdvanceInfo const &   )  [inline, 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< ExponentialDecaySpikeResponse >, GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse >, GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > > > >, GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > > > >, GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericDynamicSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > > > >, GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > > > >, GenericGABASynapse< ExponentialDecaySpikeResponse >, GenericGlutamateSynapse< ExponentialDecaySpikeResponse >, GenericHomeostaticSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericHomeostaticSynapse< GenericDynamicSpikingSynapse< GenericGlutamateSynapse< ExponentialDecaySpikeResponse > > >, GenericHomeostaticSynapse< GenericStaticSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericHomeostaticSynapse< GenericDynamicSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericHomeostaticSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, and GenericNMDASynapse< ExponentialDecaySpikeResponse >.

Definition at line 65 of file ExponentialDecaySpikeResponse.h.

References FiniteSpikeResponse::advanceReturn(), and FiniteSpikeResponse::psr.

Here is the call graph for this function:

int ExponentialDecaySpikeResponse::spikeHit ( spikeport_t  port,
SpikeEvent const &  spike 
) [inline, 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.

Reimplemented in GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > > > >, GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > > > >, GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericDynamicSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > > > >, GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > > > >, GenericDynamicSpikingSynapse< GenericGABASynapse< ExponentialDecaySpikeResponse > >, GenericDynamicSpikingSynapse< GenericGlutamateSynapse< ExponentialDecaySpikeResponse > >, GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > >, GenericDynamicSpikingSynapse< GenericNMDASynapse< ExponentialDecaySpikeResponse > >, GenericDynamicSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > >, GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericEachPairStdpSynapse< GenericDynamicSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericEachPairStdpSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericFacetsHWDepressionSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > >, GenericFacetsHWFacilitationSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > >, GenericGABASynapse< ExponentialDecaySpikeResponse >, GenericGlutamateSynapse< ExponentialDecaySpikeResponse >, GenericHomeostaticSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericHomeostaticSynapse< GenericDynamicSpikingSynapse< GenericGlutamateSynapse< ExponentialDecaySpikeResponse > > >, GenericHomeostaticSynapse< GenericStaticSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericHomeostaticSynapse< GenericDynamicSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericHomeostaticSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericOnePairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericOnePairStdpSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericStaticSpikingSynapse< GenericGlutamateSynapse< ExponentialDecaySpikeResponse > >, GenericStaticSpikingSynapse< GenericGABASynapse< ExponentialDecaySpikeResponse > >, GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > >, GenericStaticSpikingSynapse< GenericNMDASynapse< ExponentialDecaySpikeResponse > >, and GenericStaticSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > >.

Definition at line 72 of file ExponentialDecaySpikeResponse.h.

References SpikeEvent::delta, SpikeEvent::dt, FiniteSpikeResponse::psr, FiniteSpikeResponse::spikeHitReturn(), tau, and SpikeEvent::weight.

Here is the call graph for this function:

int ExponentialDecaySpikeResponse::psrLength ( double  dt  )  const [inline, virtual]

The lengh of the postsynaptic response (in time steps).

Here we choose this to be PSR_MULTIPLE_TAU * tau / DT() where PSR_MULTIPLE_TAU (e.g. 5) is set in globaldefinitions.h.

Implements FiniteSpikeResponse.

Reimplemented in GenericGlutamateSynapse< ExponentialDecaySpikeResponse >.

Definition at line 80 of file ExponentialDecaySpikeResponse.h.

References PSR_MULTIPLE_TAU, and tau.


Member Data Documentation

The decay time constant $\tau$.

Each spike linearly adds a exponential decaying response of the form $\exp(-(t-t_s)/\tau)$ where $t_s$ is the arrival time of the spike.

Definition at line 19 of file ExponentialDecaySpikeResponse.h.

Referenced by adjust(), DAModStdpDynamicCondExpSynapse::DAModStdpDynamicCondExpSynapse(), DAModStdpDynamicCurrExpSynapse::DAModStdpDynamicCurrExpSynapse(), DAModStdpStaticCondExpSynapse::DAModStdpStaticCondExpSynapse(), DAModulatedDynamicStdpSynapse::DAModulatedDynamicStdpSynapse(), DAModulatedStaticStdpSynapse::DAModulatedStaticStdpSynapse(), DynamicCondExpSynapse::DynamicCondExpSynapse(), DynamicCurrExpSynapse::DynamicCurrExpSynapse(), DynamicGABAExpSynapse::DynamicGABAExpSynapse(), DynamicGlutamateExpSynapse::DynamicGlutamateExpSynapse(), DynamicHomeostaticCurrentSynapse::DynamicHomeostaticCurrentSynapse(), DynamicHomeostaticSynapse::DynamicHomeostaticSynapse(), DynamicIzhiStdpSynapse::DynamicIzhiStdpSynapse(), DynamicNMDAExpSynapse::DynamicNMDAExpSynapse(), DynamicNonLinGABAExpSynapse::DynamicNonLinGABAExpSynapse(), DynamicSpikingSynapse::DynamicSpikingSynapse(), DynamicStdpCondExpSynapse::DynamicStdpCondExpSynapse(), DynamicStdpSynapse::DynamicStdpSynapse(), FacetsHWDepressionExpSynapse::FacetsHWDepressionExpSynapse(), FacetsHWFacilitationExpSynapse::FacetsHWFacilitationExpSynapse(), HomDynGlutamateExpSynapse::HomDynGlutamateExpSynapse(), psrLength(), HomDynGlutamateExpSynapse::reset(), StaticGlutamateExpSynapse::reset(), DynamicGlutamateExpSynapse::reset(), StaticGABAExpSynapse::reset(), DynamicGABAExpSynapse::reset(), StaticNonLinGABAExpSynapse::reset(), DynamicNonLinGABAExpSynapse::reset(), spikeHit(), StaticCondExpSynapse::StaticCondExpSynapse(), StaticCurrExpSynapse::StaticCurrExpSynapse(), StaticGABAExpSynapse::StaticGABAExpSynapse(), StaticGlutamateExpSynapse::StaticGlutamateExpSynapse(), StaticHomeostaticCurrentSynapse::StaticHomeostaticCurrentSynapse(), StaticHomeostaticSynapse::StaticHomeostaticSynapse(), StaticIzhiStdpSynapse::StaticIzhiStdpSynapse(), StaticNMDAExpSynapse::StaticNMDAExpSynapse(), StaticNonLinGABAExpSynapse::StaticNonLinGABAExpSynapse(), StaticSpikingSynapse::StaticSpikingSynapse(), StaticStdpCondExpSynapse::StaticStdpCondExpSynapse(), and StaticStdpSynapse::StaticStdpSynapse().


The documentation for this class was generated from the following file:

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