AlphaInfiniteSpikeResponse Class Reference

#include <AlphaInfiniteSpikeResponse.h>

Inheritance diagram for AlphaInfiniteSpikeResponse:

Inheritance graph
[legend]
Collaboration diagram for AlphaInfiniteSpikeResponse:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 AlphaInfiniteSpikeResponse (const float tau=3e-3)
virtual ~AlphaInfiniteSpikeResponse ()
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

float tau
 The decay time constant $\tau$.


Detailed Description

Infinite response with alpha function shape.

NOTE: NOT TESTED.

Definition at line 12 of file AlphaInfiniteSpikeResponse.h.


Constructor & Destructor Documentation

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

Definition at line 18 of file AlphaInfiniteSpikeResponse.h.

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

Definition at line 23 of file AlphaInfiniteSpikeResponse.h.


Member Function Documentation

int AlphaInfiniteSpikeResponse::adjust ( double  dt  )  [virtual]

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

Reimplemented from SimObject.

Definition at line 7 of file AlphaInfiniteSpikeResponse.cpp.

References tau.

Referenced by reset().

int AlphaInfiniteSpikeResponse::reset ( double  dt  )  [virtual]

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

Reimplemented from InfiniteSpikeResponse.

Definition at line 18 of file AlphaInfiniteSpikeResponse.cpp.

References adjust(), InfiniteSpikeResponse::psr, and InfiniteSpikeResponse::reset().

Here is the call graph for this function:

int AlphaInfiniteSpikeResponse::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 GenericCurrentBasedSpikingSynapse< AlphaInfiniteSpikeResponse >.

Definition at line 26 of file AlphaInfiniteSpikeResponse.cpp.

References InfiniteSpikeResponse::psr.

int AlphaInfiniteSpikeResponse::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.

Reimplemented in GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< AlphaInfiniteSpikeResponse > >.

Definition at line 33 of file AlphaInfiniteSpikeResponse.cpp.

References SpikeEvent::delta, InfiniteSpikeResponse::psr, and SpikeEvent::weight.


Member Data Documentation

The decay time constant $\tau$.

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

Definition at line 24 of file AlphaInfiniteSpikeResponse.h.

Referenced by adjust(), and StaticInfPSRCurrAlphaSynapse::StaticInfPSRCurrAlphaSynapse().


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

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