#include <FiniteSpikeResponse.h>
Public Member Functions | |
FiniteSpikeResponse () | |
virtual | ~FiniteSpikeResponse () |
virtual int | reset (double dt) |
Called at the beginning of a simulation at t=0. | |
virtual int | psrLength (double dt) const =0 |
The lengh of the postsynaptic response (in time steps). | |
virtual double | getAnalogOutput (analog_port_id_t p) const |
Return the analog value currently associated with the given port. | |
virtual int | nSpikeInputPorts () const |
virtual int | nSpikeOutputPorts () const |
virtual int | nAnalogInputPorts () const |
virtual int | nAnalogOutputPorts () const |
virtual PortType | outputPortType (port_t o) const |
virtual PortType | inputPortType (port_t i) const |
virtual bool | isActive () |
Public Attributes | |
double | psr |
Protected Member Functions | |
int | spikeHitReturn (AdvanceInfo const &ai) |
int | advanceReturn (void) |
Protected Attributes | |
int | steps2cutoff |
Definition at line 7 of file FiniteSpikeResponse.h.
FiniteSpikeResponse::FiniteSpikeResponse | ( | ) | [inline] |
virtual FiniteSpikeResponse::~FiniteSpikeResponse | ( | ) | [inline, virtual] |
Definition at line 16 of file FiniteSpikeResponse.h.
Called at the beginning of a simulation at t=0.
Reimplemented from SimObject.
Reimplemented in AlphaFunctionSpikeResponse, DoubleExponentialSpikeResponse, ExponentialDecaySpikeResponse, GABA_BResponse, GABA_BResponseNest, GABA_BResponseODE, DynamicNonLinGABAExpSynapse, StaticNonLinGABAExpSynapse, DynamicGABAExpSynapse, DynamicGABADoubleExpSynapse, DynamicGABAAlphaSynapse, StaticGABAExpSynapse, StaticGABADoubleExpSynapse, StaticGABAAlphaSynapse, GenericNonLinGABASynapse< Response >, DynamicGlutamateExpSynapse, DynamicGlutamateAlphaSynapse, DynamicGlutamateDoubleExpSynapse, StaticGlutamateExpSynapse, StaticGlutamateAlphaSynapse, StaticGlutamateDoubleExpSynapse, HomDynGlutamateExpSynapse, SquarePulseSpikeResponse, GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > > > >, GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > > > >, GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericDynamicSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > > > >, GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > > > >, GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< SquarePulseSpikeResponse > > > > >, GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< DoubleExponentialSpikeResponse > >, GenericDynamicSpikingSynapse< GenericNonLinGABASynapse< ExponentialDecaySpikeResponse > >, GenericDynamicSpikingSynapse< GenericConductanceBasedSpikingSynapse< AlphaFunctionSpikeResponse > >, GenericDynamicSpikingSynapse< GenericGABASynapse< ExponentialDecaySpikeResponse > >, GenericDynamicSpikingSynapse< GenericGlutamateSynapse< ExponentialDecaySpikeResponse > >, GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > >, GenericDynamicSpikingSynapse< GenericGABASynapse< AlphaFunctionSpikeResponse > >, GenericDynamicSpikingSynapse< GenericGABASynapse< DoubleExponentialSpikeResponse > >, GenericDynamicSpikingSynapse< GenericNMDASynapse< ExponentialDecaySpikeResponse > >, GenericDynamicSpikingSynapse< GenericConductanceBasedSpikingSynapse< DoubleExponentialSpikeResponse > >, GenericDynamicSpikingSynapse< GenericGlutamateSynapse< DoubleExponentialSpikeResponse > >, GenericDynamicSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > >, GenericDynamicSpikingSynapse< GenericNMDASynapse< DoubleExponentialSpikeResponse > >, GenericDynamicSpikingSynapse< GenericGlutamateSynapse< AlphaFunctionSpikeResponse > >, GenericDynamicSpikingSynapse< GenericNMDASynapse< AlphaFunctionSpikeResponse > >, GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< AlphaFunctionSpikeResponse > >, GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericEachPairStdpSynapse< GenericDynamicSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< SquarePulseSpikeResponse > > >, GenericEachPairStdpSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericFacetsHWDepressionSynapse< GenericConductanceBasedSpikingSynapse< DoubleExponentialSpikeResponse > >, GenericFacetsHWDepressionSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > >, GenericFacetsHWFacilitationSynapse< GenericConductanceBasedSpikingSynapse< DoubleExponentialSpikeResponse > >, GenericFacetsHWFacilitationSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > >, GenericGABASynapse< ExponentialDecaySpikeResponse >, GenericGABASynapse< DoubleExponentialSpikeResponse >, GenericGABASynapse< AlphaFunctionSpikeResponse >, GenericGlutamateSynapse< ExponentialDecaySpikeResponse >, GenericGlutamateSynapse< DoubleExponentialSpikeResponse >, GenericGlutamateSynapse< AlphaFunctionSpikeResponse >, GenericHomeostaticSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericHomeostaticSynapse< GenericDynamicSpikingSynapse< GenericGlutamateSynapse< ExponentialDecaySpikeResponse > > >, GenericHomeostaticSynapse< GenericStaticSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericHomeostaticSynapse< GenericDynamicSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericHomeostaticSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericNonLinGABASynapse< ExponentialDecaySpikeResponse >, GenericOnePairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, and GenericOnePairStdpSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >.
Definition at line 20 of file FiniteSpikeResponse.h.
References psr, and steps2cutoff.
Referenced by SquarePulseSpikeResponse::reset(), GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< SquarePulseSpikeResponse > > > > >::reset(), GABA_BResponseODE::reset(), GABA_BResponseNest::reset(), GABA_BResponse::reset(), ExponentialDecaySpikeResponse::reset(), DoubleExponentialSpikeResponse::reset(), and AlphaFunctionSpikeResponse::reset().
The lengh of the postsynaptic response (in time steps).
Implemented in AlphaFunctionSpikeResponse, DoubleExponentialSpikeResponse, ExponentialDecaySpikeResponse, GABA_BResponse, GABA_BResponseNest, GABA_BResponseODE, SquarePulseSpikeResponse, GenericGlutamateSynapse< ExponentialDecaySpikeResponse >, GenericGlutamateSynapse< DoubleExponentialSpikeResponse >, and GenericGlutamateSynapse< AlphaFunctionSpikeResponse >.
Referenced by spikeHitReturn().
virtual double FiniteSpikeResponse::getAnalogOutput | ( | analog_port_id_t | port | ) | const [inline, virtual] |
Return the analog value currently associated with the given port.
Reimplemented from SimObject.
Reimplemented in GenericNonLinGABASynapse< Response >, GenericGABASynapse< ExponentialDecaySpikeResponse >, GenericGABASynapse< DoubleExponentialSpikeResponse >, GenericGABASynapse< AlphaFunctionSpikeResponse >, GenericGlutamateSynapse< ExponentialDecaySpikeResponse >, GenericGlutamateSynapse< DoubleExponentialSpikeResponse >, GenericGlutamateSynapse< AlphaFunctionSpikeResponse >, and GenericNonLinGABASynapse< ExponentialDecaySpikeResponse >.
Definition at line 35 of file FiniteSpikeResponse.h.
References psr, and steps2cutoff.
Referenced by GenericNonLinGABASynapse< ExponentialDecaySpikeResponse >::getAnalogOutput().
virtual int FiniteSpikeResponse::nSpikeInputPorts | ( | ) | const [inline, virtual] |
virtual int FiniteSpikeResponse::nSpikeOutputPorts | ( | ) | const [inline, virtual] |
virtual int FiniteSpikeResponse::nAnalogInputPorts | ( | ) | const [inline, virtual] |
virtual int FiniteSpikeResponse::nAnalogOutputPorts | ( | ) | const [inline, virtual] |
Reimplemented from SimObject.
Definition at line 46 of file FiniteSpikeResponse.h.
References SimObject::analog, and SimObject::undefined.
Reimplemented from SimObject.
Reimplemented in GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericEachPairStdpSynapse< GenericDynamicSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< SquarePulseSpikeResponse > > >, and GenericEachPairStdpSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >.
Definition at line 50 of file FiniteSpikeResponse.h.
References SimObject::spiking, and SimObject::undefined.
virtual bool FiniteSpikeResponse::isActive | ( | ) | [inline, virtual] |
Definition at line 55 of file FiniteSpikeResponse.h.
References steps2cutoff.
Referenced by GenericDAModulatedSTDPSynapse< BaseSyn >::advance(), and GenericDAModulatedSTDPSynapse< BaseSyn >::spikeHit().
int FiniteSpikeResponse::spikeHitReturn | ( | AdvanceInfo const & | ai | ) | [inline, protected] |
Definition at line 63 of file FiniteSpikeResponse.h.
References AdvanceInfo::dt, Time::in_sec(), psrLength(), SPIKEHITFLAG_ACTIVATE, and steps2cutoff.
Referenced by SquarePulseSpikeResponse::spikeHit(), GABA_BResponseODE::spikeHit(), GABA_BResponseNest::spikeHit(), GABA_BResponse::spikeHit(), ExponentialDecaySpikeResponse::spikeHit(), DoubleExponentialSpikeResponse::spikeHit(), and AlphaFunctionSpikeResponse::spikeHit().
int FiniteSpikeResponse::advanceReturn | ( | void | ) | [inline, protected] |
Definition at line 72 of file FiniteSpikeResponse.h.
References ADVANCEFLAG_DEACTIVATE, psr, and steps2cutoff.
Referenced by SquarePulseSpikeResponse::advance(), GABA_BResponseODE::advance(), GABA_BResponseNest::advance(), GABA_BResponse::advance(), ExponentialDecaySpikeResponse::advance(), DoubleExponentialSpikeResponse::advance(), and AlphaFunctionSpikeResponse::advance().
Definition at line 33 of file FiniteSpikeResponse.h.
Referenced by SquarePulseSpikeResponse::advance(), GenericNonLinGABASynapse< ExponentialDecaySpikeResponse >::advance(), GenericDAModulatedSTDPSynapse< BaseSyn >::advance(), GABA_BResponseODE::advance(), GABA_BResponseNest::advance(), GABA_BResponse::advance(), ExponentialDecaySpikeResponse::advance(), DoubleExponentialSpikeResponse::advance(), AlphaFunctionSpikeResponse::advance(), advanceReturn(), FiniteSpikeResponse(), getAnalogOutput(), GABA_BResponseODE::reset(), reset(), DoubleExponentialSpikeResponse::reset(), AlphaFunctionSpikeResponse::reset(), SquarePulseSpikeResponse::spikeHit(), ExponentialDecaySpikeResponse::spikeHit(), DoubleExponentialSpikeResponse::spikeHit(), and AlphaFunctionSpikeResponse::spikeHit().
int FiniteSpikeResponse::steps2cutoff [protected] |
Definition at line 85 of file FiniteSpikeResponse.h.
Referenced by advanceReturn(), FiniteSpikeResponse(), getAnalogOutput(), isActive(), reset(), and spikeHitReturn().