NeuronEngine Class

The NeuronEngine class is a common engine used by most neurons. More...

Header: #include <NeuronEngine>
Inherits: NodeEngine.

Properties

Public Functions

NeuronEngine(QQuickItem * parent = 0)
double adaptionConductance() const
double capacitance() const
double initialPotential() const
double restingPotential() const
double synapticConductance() const
double synapticPotential() const
double synapticTimeConstant() const
double threshold() const
double voltage() const

Public Slots

virtual void resetEvent()
void setCapacitance(double capacitance)
void setInitialPotential(double initialPotential)
void setRestingPotential(double arg)
void setSynapticConductance(double arg)
void setSynapticPotential(double arg)
void setSynapticTimeConstant(double synapticTimeConstant)
void setThreshold(double threshold)
void setVoltage(double arg)

Signals

void capacitanceChanged(double capacitance)
void initialPotentialChanged(double initialPotential)
void restingPotentialChanged(double arg)
void synapticConductanceChanged(double arg)
void synapticPotentialChanged(double arg)
void synapticTimeConstantChanged(double synapticTimeConstant)
void thresholdChanged(double threshold)
void voltageChanged(double arg)

Reimplemented Protected Functions

virtual void fireEvent()
virtual void receiveCurrentEvent(double currentOutput, NodeEngine * sender)
virtual void receiveFireEvent(double fireOutput, NodeEngine * sender)
virtual void stepEvent(double dt, bool parentEnabled)

Detailed Description

The NeuronEngine class is a common engine used by most neurons.

Neurons have common properties such as the resting membrane potential, possible synaptic input and a voltage. Currents are responsible for changes to the voltage.

NodeEngine holds a list of all children added in QML. In stepEvent() all the children are iterated, and if they contain a Current object, the Current::current() function is called to obtain the current value of the given current. The Current class can be subclassed in C++ or QML to define different types of currents, such as PassiveCurrent and AdaptationCurrent.

Property Documentation

capacitance : double

Access functions:

double capacitance() const
void setCapacitance(double capacitance)

Notifier signal:

void capacitanceChanged(double capacitance)

initialPotential : double

Access functions:

double initialPotential() const
void setInitialPotential(double initialPotential)

Notifier signal:

void initialPotentialChanged(double initialPotential)

restingPotential : double

Access functions:

double restingPotential() const
void setRestingPotential(double arg)

Notifier signal:

void restingPotentialChanged(double arg)

synapticConductance : double

Access functions:

double synapticConductance() const
void setSynapticConductance(double arg)

Notifier signal:

void synapticConductanceChanged(double arg)

synapticPotential : double

Access functions:

double synapticPotential() const
void setSynapticPotential(double arg)

Notifier signal:

void synapticPotentialChanged(double arg)

synapticTimeConstant : double

Access functions:

double synapticTimeConstant() const
void setSynapticTimeConstant(double synapticTimeConstant)

Notifier signal:

void synapticTimeConstantChanged(double synapticTimeConstant)

threshold : double

Access functions:

double threshold() const
void setThreshold(double threshold)

Notifier signal:

void thresholdChanged(double threshold)

voltage : double

Access functions:

double voltage() const
void setVoltage(double arg)

Notifier signal:

void voltageChanged(double arg)

Member Function Documentation

NeuronEngine::NeuronEngine(QQuickItem * parent = 0)

double NeuronEngine::adaptionConductance() const

[virtual protected] void NeuronEngine::fireEvent()

[virtual protected] void NeuronEngine::receiveCurrentEvent(double currentOutput, NodeEngine * sender)

[virtual protected] void NeuronEngine::receiveFireEvent(double fireOutput, NodeEngine * sender)

[virtual slot] void NeuronEngine::resetEvent()

[virtual protected] void NeuronEngine::stepEvent(double dt, bool parentEnabled)