CARLsim
5.0.0
CARLsim: a GPU-accelerated SNN simulator
|
A struct to assign exponential STDP curves. More...
#include <carlsim_datastructures.h>
Public Member Functions | |
ExpCurve (float _alphaPlus, float _tauPlus, float _alphaMinus, float _tauMinus) | |
Public Attributes | |
float | alphaMinus |
the amplitude of the exponential curve at post-pre side More... | |
float | alphaPlus |
the amplitude of the exponential curve at pre-post side More... | |
STDPCurve | stdpCurve |
the type of STDP curve More... | |
float | tauMinus |
the time constant of the exponential curve at post-pre side More... | |
float | tauPlus |
the time constant of the exponential curve at pre-post side More... | |
This STDP curve can be any combination of two exponential curves. The parameters (_alphaPlus,_tauPlus) specifies the exponential STDP curve at the pre-post side (i.e., a pre-synaptic neuron fires before a post-synaptic neuron). the parameters (_alphaMinus,_tauMinus) specifies the exponential STDP curve at the post-pre side. _tauPlus and _tauMinus must be positive number while _alphaPlus and _alphaMinus can be positive or negative according to users' needs. A positive value of _alphaPlus or _alphaMinus will increase the strength of a synapse (no matter a synapse is excitatory or inhibitory). In contrast, a negative value will decrease the strength of a synapse.
[in] | _alphaPlus | the amplitude of the exponential curve at pre-post side |
[in] | _tauPlus | the decay constant of the exponential curve at pre-post side |
[in] | _alphaMinus | the amplitude of the exponential curve at post-pre side |
[in] | _tauMinus | the decay constant of the exponential curve at post-pre side |
Definition at line 571 of file carlsim_datastructures.h.
|
inline |
Definition at line 572 of file carlsim_datastructures.h.
float alphaMinus |
Definition at line 582 of file carlsim_datastructures.h.
float alphaPlus |
Definition at line 580 of file carlsim_datastructures.h.
STDPCurve stdpCurve |
Definition at line 579 of file carlsim_datastructures.h.
float tauMinus |
Definition at line 583 of file carlsim_datastructures.h.
float tauPlus |
Definition at line 581 of file carlsim_datastructures.h.