#include <AnalogPointNeuron.h>
Public Member Functions | |
AnalogPointNeuron () | |
virtual | ~AnalogPointNeuron () |
virtual double | getAnalogOutput (analog_port_id_t port=0) const |
Return the analog value currently associated with the given port. | |
virtual void | setAnalogInput (double i, analog_port_id_t port=0) |
Analog input to given port. | |
virtual int | advance (AdvanceInfo const &) |
Calculate the next state and output/propagate the result to succesors/outgoing objects. | |
virtual int | reset (double dt) |
Called at the beginning of a simulation at t=0. | |
virtual double | getManagedDelay () const |
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 void | clearSynapticInput (void) |
virtual void | currentInput (double i) |
virtual void | conductanceInput (double g, double Erev) |
Public Attributes | |
double | Vm |
The analog output (potential) of this neuron [readonly; units=V;]. | |
double | Inoise |
The noise of analog neurons [readwrite; units=A^2;]. | |
double | Iinject |
Constant current injection [readwrite; units=A^2;]. | |
double | Rm |
The membrane resistance. | |
Protected Attributes | |
double | Isyn |
double | Gsyn |
Static Protected Attributes | |
static ThreadSpecificRandomDistribution < NormalDistribution > | noise |
Random number generator for the noise. |
This class is inteden to be used as the base class for all "artificial" analog neuron types.
If there are no Conductance based synapses the output is given by
If there are conductance based synapses the output is given by
$fIsyn is the total amount of conductance supplied by the conductance based synapses is some constant base current injection is a gaussian random variable with a standard deviation of Inoise is the membrane resistance (which acts just as a scaling factor in this case
Definition at line 26 of file AnalogPointNeuron.h.
AnalogPointNeuron::AnalogPointNeuron | ( | ) |
Definition at line 6 of file AnalogPointNeuron.cpp.
AnalogPointNeuron::~AnalogPointNeuron | ( | ) | [virtual] |
Definition at line 10 of file AnalogPointNeuron.cpp.
virtual double AnalogPointNeuron::getAnalogOutput | ( | analog_port_id_t | port = 0 |
) | const [inline, virtual] |
Return the analog value currently associated with the given port.
Reimplemented from SimObject.
Definition at line 44 of file AnalogPointNeuron.h.
References Vm.
virtual void AnalogPointNeuron::setAnalogInput | ( | double | value, | |
analog_port_id_t | port = 0 | |||
) | [inline, virtual] |
Analog input to given port.
Reimplemented from SimObject.
Definition at line 49 of file AnalogPointNeuron.h.
References Isyn.
virtual int AnalogPointNeuron::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.
Definition at line 54 of file AnalogPointNeuron.h.
References clearSynapticInput(), Gsyn, Iinject, Inoise, Isyn, noise, Rm, and Vm.
Referenced by reset().
Called at the beginning of a simulation at t=0.
Reimplemented from SimObject.
Definition at line 66 of file AnalogPointNeuron.h.
References advance(), clearSynapticInput(), noise, Time::sec(), and ThreadSpecificRandomDistribution< Dist >::set().
virtual double AnalogPointNeuron::getManagedDelay | ( | ) | const [inline, virtual] |
virtual int AnalogPointNeuron::nSpikeInputPorts | ( | ) | const [inline, virtual] |
virtual int AnalogPointNeuron::nSpikeOutputPorts | ( | ) | const [inline, virtual] |
virtual int AnalogPointNeuron::nAnalogInputPorts | ( | ) | const [inline, virtual] |
Reimplemented from SimObject.
Definition at line 77 of file AnalogPointNeuron.h.
References MAX_PORT_NUMBER.
virtual int AnalogPointNeuron::nAnalogOutputPorts | ( | ) | const [inline, virtual] |
Reimplemented from SimObject.
Definition at line 80 of file AnalogPointNeuron.h.
References SimObject::analog, and SimObject::undefined.
Reimplemented from SimObject.
Definition at line 85 of file AnalogPointNeuron.h.
References SimObject::analog.
void AnalogPointNeuron::clearSynapticInput | ( | void | ) | [inline, virtual] |
void AnalogPointNeuron::currentInput | ( | double | i | ) | [inline, virtual] |
Reimplemented from CurrentInputTarget.
Definition at line 109 of file AnalogPointNeuron.h.
References Isyn.
The analog output (potential) of this neuron [readonly; units=V;].
Definition at line 33 of file AnalogPointNeuron.h.
Referenced by advance(), and getAnalogOutput().
The noise of analog neurons [readwrite; units=A^2;].
Definition at line 36 of file AnalogPointNeuron.h.
Referenced by advance(), and LinearNeuron::LinearNeuron().
Constant current injection [readwrite; units=A^2;].
Definition at line 39 of file AnalogPointNeuron.h.
Referenced by advance(), and LinearNeuron::LinearNeuron().
The membrane resistance.
Definition at line 42 of file AnalogPointNeuron.h.
Referenced by advance(), and LinearNeuron::LinearNeuron().
double AnalogPointNeuron::Isyn [protected] |
Definition at line 96 of file AnalogPointNeuron.h.
Referenced by advance(), clearSynapticInput(), conductanceInput(), currentInput(), and setAnalogInput().
double AnalogPointNeuron::Gsyn [protected] |
Definition at line 97 of file AnalogPointNeuron.h.
Referenced by advance(), clearSynapticInput(), and conductanceInput().
ThreadSpecificRandomDistribution< NormalDistribution > AnalogPointNeuron::noise [static, protected] |