A leaky integrator neuron, used by standard saliency map (SM). More...
#include <Neuro/LeakyIntegrator.H>
Public Member Functions | |
LeakyIntegrator (const SimTime timeStep=SimTime::SECS(0.0001), const float C=5.0E-8F, const float Gleak=1.0E-7F, const float GinhDecay=0.9999F) | |
constructor | |
void | input (const float current) |
set input current (A) | |
void | resetV (const double val) |
reset membrane potential to given value (in Volts) | |
void | integrate (const SimTime &t) |
integrate for up to given time (in s) | |
float | getV () const |
get current membrane potential (in V) | |
void | setGinh (const float g) |
set inhibitory conductance (S) | |
void | addGinh (const float g) |
add to inhibitory conductance (S) | |
void | setGinhDecay (const float decay) |
set the decay factor for Ginh |
A leaky integrator neuron, used by standard saliency map (SM).
This is the saliency map neuron used in conjunction with SM which is a 2D array of LeakyIntegrator.
Definition at line 48 of file LeakyIntegrator.H.
LeakyIntegrator::LeakyIntegrator | ( | const SimTime | timeStep = SimTime::SECS(0.0001) , |
|
const float | C = 5.0E-8F , |
|||
const float | Gleak = 1.0E-7F , |
|||
const float | GinhDecay = 0.9999F | |||
) | [inline] |
constructor
Constructor with default params
timeStep | is the integration time step, in s | |
C | is the membrane capacitance, in Farads | |
Gleak | is the leak conductance, in Siemens | |
GinhDecay | decay factor applied to Ginh at every time step |
Definition at line 98 of file LeakyIntegrator.H.
void LeakyIntegrator::addGinh | ( | const float | g | ) | [inline] |
add to inhibitory conductance (S)
Definition at line 145 of file LeakyIntegrator.H.
float LeakyIntegrator::getV | ( | ) | const [inline] |
get current membrane potential (in V)
Definition at line 137 of file LeakyIntegrator.H.
Referenced by SaliencyMapStd::getV().
void LeakyIntegrator::input | ( | const float | current | ) | [inline] |
set input current (A)
Definition at line 107 of file LeakyIntegrator.H.
void LeakyIntegrator::integrate | ( | const SimTime & | t | ) | [inline] |
integrate for up to given time (in s)
Definition at line 115 of file LeakyIntegrator.H.
References SimTime::computeDeltaT(), and SimTime::secs().
void LeakyIntegrator::resetV | ( | const double | val | ) | [inline] |
reset membrane potential to given value (in Volts)
Definition at line 111 of file LeakyIntegrator.H.
void LeakyIntegrator::setGinh | ( | const float | g | ) | [inline] |
set inhibitory conductance (S)
Definition at line 141 of file LeakyIntegrator.H.
void LeakyIntegrator::setGinhDecay | ( | const float | decay | ) | [inline] |
set the decay factor for Ginh
Definition at line 149 of file LeakyIntegrator.H.